replace IdleXLoop with usleep
This commit is contained in:
parent
dea07d3bcc
commit
08a683d204
1 changed files with 1 additions and 0 deletions
|
@ -399,6 +399,7 @@ static ChfAction EmulatorLoopHandler( const ChfDescriptor* d, const ChfState s,
|
||||||
*/
|
*/
|
||||||
debug1( DEBUG_C_TIMERS, CPU_I_IDLE_X_LOOP, ms );
|
debug1( DEBUG_C_TIMERS, CPU_I_IDLE_X_LOOP, ms );
|
||||||
// IdleXLoop( ms );
|
// IdleXLoop( ms );
|
||||||
|
usleep( ms );
|
||||||
|
|
||||||
/* End of idle loop; compute actual elapsed time */
|
/* End of idle loop; compute actual elapsed time */
|
||||||
gettimeofday( &end_idle, NULL );
|
gettimeofday( &end_idle, NULL );
|
||||||
|
|
Loading…
Reference in a new issue