Planned maintenance: From Sunday 8th December 10:00 CET there will be changes to try and solve the caching issues that have been experienced. If anyone has a problem connecting after this period then please PM @AndyS or any of the moderators.

Control execution speed



  • Hello guys! I need to code a new project in college. It's a cache memory execution simulator. Do you guys know how to control the execution speed of the code with Qt?

    My idea is to put a slider at GUI to allow user control the execution speed.


  • Moderators

    Use QTimer, or QThread::sleep. I only hope you want to control execution speed of your simulation, not the whole application.


Log in to reply