VirtualBox

Changeset 32917 in vbox


Ignore:
Timestamp:
Oct 5, 2010 1:35:31 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66400
Message:

Wrong stat type

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r32916 r32917  
    20072007                    {
    20082008                        /* 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);
    20102010                        RTThreadSleep(2);
    2011                         STAM_REL_PROFILE_STOP(&pVCpu->em.s.StatCapped, u);
     2011                        STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u);
    20122012                        rc = VINF_SUCCESS;
    20132013                    }
     
    20252025                    {
    20262026                        /* 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);
    20282028                        RTThreadSleep(2);
    2029                         STAM_REL_PROFILE_STOP(&pVCpu->em.s.StatCapped, u);
     2029                        STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u);
    20302030                        rc = VINF_SUCCESS;
    20312031                    }
     
    20442044                    {
    20452045                        /* 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);
    20472047                        RTThreadSleep(2);
    2048                         STAM_REL_PROFILE_STOP(&pVCpu->em.s.StatCapped, u);
     2048                        STAM_REL_PROFILE_ADV_STOP(&pVCpu->em.s.StatCapped, u);
    20492049                        rc = VINF_SUCCESS;
    20502050                    }
  • trunk/src/VBox/VMM/EMInternal.h

    r32912 r32917  
    401401    STAMPROFILE             StatForcedActions;
    402402    STAMPROFILE             StatHalted;
    403     STAMPROFILE             StatCapped;
     403    STAMPROFILEADV          StatCapped;
    404404    STAMPROFILEADV          StatHwAccEntry;
    405405    STAMPROFILE             StatHwAccExec;
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