VirtualBox

Changeset 32952 in vbox


Ignore:
Timestamp:
Oct 6, 2010 3:42:59 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66450
Message:

Logging + longer sleep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r32921 r32952  
    16921692        pVCpu->em.s.u64TimeSliceExec = u64KernelTime + u64UserTime - pVCpu->em.s.u64TimeSliceStartExec;
    16931693
     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));
    16941695        if (pVCpu->em.s.u64TimeSliceExec >= (EM_TIME_SLICE * pVM->uCpuExecutionCap) / 100)
    16951696            return false;
     
    20082009                        /* Give up this time slice; virtual time continues */
    20092010                        STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u);
    2010                         RTThreadSleep(2);
     2011                        RTThreadSleep(10);
    20112012                        STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u);
    20122013                        rc = VINF_SUCCESS;
     
    20262027                        /* Give up this time slice; virtual time continues */
    20272028                        STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u);
    2028                         RTThreadSleep(2);
     2029                        RTThreadSleep(10);
    20292030                        STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u);
    20302031                        rc = VINF_SUCCESS;
     
    20452046                        /* Give up this time slice; virtual time continues */
    20462047                        STAM_REL_PROFILE_ADV_START(&pVCpu->em.s.StatCapped, u);
    2047                         RTThreadSleep(2);
     2048                        RTThreadSleep(10);
    20482049                        STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u);
    20492050                        rc = VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette