Changeset 32917 in vbox
- Timestamp:
- Oct 5, 2010 1:35:31 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66400
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r32916 r32917 2007 2007 { 2008 2008 /* Give up this time slice; virtual time continues */ 2009 STAM_REL_PROFILE_ START(&pVCpu->em.s.StatCapped, u);2009 STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u); 2010 2010 RTThreadSleep(2); 2011 STAM_REL_PROFILE_ STOP(&pVCpu->em.s.StatCapped, u);2011 STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u); 2012 2012 rc = VINF_SUCCESS; 2013 2013 } … … 2025 2025 { 2026 2026 /* Give up this time slice; virtual time continues */ 2027 STAM_REL_PROFILE_ START(&pVCpu->em.s.StatCapped, u);2027 STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u); 2028 2028 RTThreadSleep(2); 2029 STAM_REL_PROFILE_ STOP(&pVCpu->em.s.StatCapped, u);2029 STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u); 2030 2030 rc = VINF_SUCCESS; 2031 2031 } … … 2044 2044 { 2045 2045 /* Give up this time slice; virtual time continues */ 2046 STAM_REL_PROFILE_ START(&pVCpu->em.s.StatCapped, u);2046 STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u); 2047 2047 RTThreadSleep(2); 2048 STAM_REL_PROFILE_ STOP(&pVCpu->em.s.StatCapped, u);2048 STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u); 2049 2049 rc = VINF_SUCCESS; 2050 2050 } -
trunk/src/VBox/VMM/EMInternal.h
r32912 r32917 401 401 STAMPROFILE StatForcedActions; 402 402 STAMPROFILE StatHalted; 403 STAMPROFILE 403 STAMPROFILEADV StatCapped; 404 404 STAMPROFILEADV StatHwAccEntry; 405 405 STAMPROFILE StatHwAccExec;
Note:
See TracChangeset
for help on using the changeset viewer.