VirtualBox

Changeset 14351 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 19, 2008 1:38:31 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39564
Message:

Don't fixup VM::trpm.s.paStatForwardedIRQ* in build without statistics.

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

Legend:

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

    r13830 r14351  
    679679    }
    680680
     681#ifdef VBOX_WITH_STATISTICS
    681682    pVM->trpm.s.paStatForwardedIRQRC += offDelta;
    682683    pVM->trpm.s.paStatForwardedIRQR0 = MMHyperR3ToR0(pVM, pVM->trpm.s.paStatForwardedIRQR3);
     684#endif
    683685}
    684686
  • trunk/src/VBox/VMM/TRPMInternal.h

    r13636 r14351  
    181181    STAMCOUNTER             StatTrap0dRdTsc;    /**< Number of RDTSC #GPs. */
    182182
     183#ifdef VBOX_WITH_STATISTICS
    183184    /* R3: Statistics for interrupt handlers (allocated on the hypervisor heap). */
    184185    R3PTRTYPE(PSTAMCOUNTER) paStatForwardedIRQR3;
     
    187188    /* RC: Statistics for interrupt handlers (allocated on the hypervisor heap). */
    188189    RCPTRTYPE(PSTAMCOUNTER) paStatForwardedIRQRC;
     190#endif
    189191} TRPM;
    190192#pragma pack()
  • trunk/src/VBox/VMM/TRPMInternal.mac

    r13635 r14351  
    7575    .StatTrap0dRdTsc          resb STAMCOUNTER_size
    7676
     77%ifdef VBOX_WITH_STATISTICS
    7778    .paStatForwardedIRQR3  RTR3PTR_RES 1
    7879    .paStatForwardedIRQR0  RTR0PTR_RES 1
    7980    .paStatForwardedIRQRC  RTRCPTR_RES 1
     81%endif
    8082endstruc
    8183
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