VirtualBox

Changeset 54195 in vbox for trunk


Ignore:
Timestamp:
Feb 13, 2015 12:22:29 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98255
Message:

VMM/TM: Enabled waking up of EMTs (poking) from the TM R3-timer callback when the timer force-flag is set.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/TM.cpp

    r54087 r54195  
    774774
    775775    STAM_REG(pVM, &pVM->tm.s.StatTimerCallbackSetFF,                  STAMTYPE_COUNTER, "/TM/CallbackSetFF",                   STAMUNIT_OCCURENCES, "The number of times the timer callback set FF.");
     776    STAM_REG(pVM, &pVM->tm.s.StatTimerCallback,                       STAMTYPE_COUNTER, "/TM/Callback",                        STAMUNIT_OCCURENCES, "The number of times the timer callback is invoked.");
    776777
    777778    STAM_REG(pVM, &pVM->tm.s.StatTSCCatchupLE010,                     STAMTYPE_COUNTER, "/TM/TSC/Intercept/CatchupLE010",      STAMUNIT_OCCURENCES, "In catch-up mode, 10% or lower.");
     
    20182019
    20192020    AssertCompile(TMCLOCK_MAX == 4);
     2021    STAM_COUNTER_INC(&pVM->tm.s.StatTimerCallback);
     2022
    20202023#ifdef DEBUG_Sander /* very annoying, keep it private. */
    20212024    if (VMCPU_FF_IS_SET(pVCpuDst, VMCPU_FF_TIMER))
     
    20382041        REMR3NotifyTimerPending(pVM, pVCpuDst);
    20392042#endif
    2040         VMR3NotifyCpuFFU(pVCpuDst->pUVCpu, VMNOTIFYFF_FLAGS_DONE_REM /** @todo | VMNOTIFYFF_FLAGS_POKE ?*/);
     2043        VMR3NotifyCpuFFU(pVCpuDst->pUVCpu, VMNOTIFYFF_FLAGS_DONE_REM | VMNOTIFYFF_FLAGS_POKE);
    20412044        STAM_COUNTER_INC(&pVM->tm.s.StatTimerCallbackSetFF);
    20422045    }
  • trunk/src/VBox/VMM/include/TMInternal.h

    r54087 r54195  
    653653    /** The timer callback. */
    654654    STAMCOUNTER                 StatTimerCallbackSetFF;
     655    STAMCOUNTER                 StatTimerCallback;
    655656
    656657    /** Calls to TMCpuTickSet. */
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