VirtualBox

Changeset 1321 in vbox for trunk/src/VBox/VMM/VMMGC


Ignore:
Timestamp:
Mar 8, 2007 10:07:12 AM (18 years ago)
Author:
vboxsync
Message:

Move stat start

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp

    r1312 r1321  
    702702#endif
    703703
    704     STAM_PROFILE_ADV_START(&pVM->trpm.s.StatTrap0dDisasm, a);
    705 
    706704    /* We always set IOPL to zero which makes e.g. pushf fault in V86 mode. The guest might use IOPL=3 and therefor not expect a #GP.
    707705     * Simply fall back to the recompiler to emulate this instruction.
     
    709707    if (pRegFrame->eflags.Bits.u1VM)
    710708    {
    711         STAM_PROFILE_ADV_STOP(&pVM->trpm.s.StatTrap0dDisasm, a);
    712 
    713709        /* Retrieve the eflags including the virtualized bits. */
    714710        /** @note hackish as the cpumctxcore structure doesn't contain the right value */
     
    725721    }
    726722
     723    STAM_PROFILE_ADV_START(&pVM->trpm.s.StatTrap0dDisasm, a);
    727724    /*
    728725     * Decode the instruction.
Note: See TracChangeset for help on using the changeset viewer.

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