Changeset 32952 in vbox
- Timestamp:
- Oct 6, 2010 3:42:59 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r32921 r32952 1692 1692 pVCpu->em.s.u64TimeSliceExec = u64KernelTime + u64UserTime - pVCpu->em.s.u64TimeSliceStartExec; 1693 1693 1694 Log2(("emR3IsExecutionAllowed: start=%RX64 startexec=%RX64 exec=%RX64 (cap=%x)\n", pVCpu->em.s.u64TimeSliceStart, pVCpu->em.s.u64TimeSliceStartExec, pVCpu->em.s.u64TimeSliceExec, (EM_TIME_SLICE * pVM->uCpuExecutionCap) / 100)); 1694 1695 if (pVCpu->em.s.u64TimeSliceExec >= (EM_TIME_SLICE * pVM->uCpuExecutionCap) / 100) 1695 1696 return false; … … 2008 2009 /* Give up this time slice; virtual time continues */ 2009 2010 STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u); 2010 RTThreadSleep( 2);2011 RTThreadSleep(10); 2011 2012 STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u); 2012 2013 rc = VINF_SUCCESS; … … 2026 2027 /* Give up this time slice; virtual time continues */ 2027 2028 STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u); 2028 RTThreadSleep( 2);2029 RTThreadSleep(10); 2029 2030 STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u); 2030 2031 rc = VINF_SUCCESS; … … 2045 2046 /* Give up this time slice; virtual time continues */ 2046 2047 STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u); 2047 RTThreadSleep( 2);2048 RTThreadSleep(10); 2048 2049 STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u); 2049 2050 rc = VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.