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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.