VirtualBox

Changeset 18619 in vbox


Ignore:
Timestamp:
Apr 1, 2009 10:14:47 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45525
Message:

PDM,EM: Killed PDMR3Poll. RIP.

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

Legend:

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

    r18105 r18619  
    684684        STAM_REL_REG(pVM, &pUVM->vm.s.StatHaltBlock, STAMTYPE_PROFILE,     "/PROF/VM/Halt/Block",    STAMUNIT_TICKS_PER_CALL,    "Profiling halted state blocking.");
    685685        STAM_REL_REG(pVM, &pUVM->vm.s.StatHaltTimers,STAMTYPE_PROFILE,     "/PROF/VM/Halt/Timers",   STAMUNIT_TICKS_PER_CALL,    "Profiling halted state timer tasks.");
    686         STAM_REL_REG(pVM, &pUVM->vm.s.StatHaltPoll,  STAMTYPE_PROFILE,     "/PROF/VM/Halt/Poll",     STAMUNIT_TICKS_PER_CALL,    "Profiling halted state poll tasks.");
    687686
    688687        STAM_REG(pVM, &pUVM->vm.s.StatReqAllocNew,   STAMTYPE_COUNTER,     "/VM/Req/AllocNew",       STAMUNIT_OCCURENCES,        "Number of VMR3ReqAlloc returning a new packet.");
     
    23192318        if (    pCur->enmType == VMATRESETTYPE_DEV
    23202319            &&  pCur->u.Dev.pDevIns == pDevIns
    2321             &&  (   !pfnCallback 
     2320            &&  (   !pfnCallback
    23222321                 || pCur->u.Dev.pfnCallback == pfnCallback))
    23232322        {
  • trunk/src/VBox/VMM/VMEmt.cpp

    r13858 r18619  
    358358         * addition to perhaps set an FF.
    359359         */
    360         STAM_REL_PROFILE_START(&pUVM->vm.s.StatHaltPoll, a);
    361         PDMR3Poll(pVM);
    362         STAM_REL_PROFILE_STOP(&pUVM->vm.s.StatHaltPoll, a);
    363360        STAM_REL_PROFILE_START(&pUVM->vm.s.StatHaltTimers, b);
    364361        TMR3TimerQueuesDo(pVM);
     
    555552         * Work the timers and check if we can exit.
    556553         */
    557         STAM_REL_PROFILE_START(&pUVM->vm.s.StatHaltPoll, a);
    558         PDMR3Poll(pVM);
    559         STAM_REL_PROFILE_STOP(&pUVM->vm.s.StatHaltPoll, a);
    560554        STAM_REL_PROFILE_START(&pUVM->vm.s.StatHaltTimers, b);
    561555        TMR3TimerQueuesDo(pVM);
     
    672666         * Work the timers and check if we can exit.
    673667         */
    674         STAM_REL_PROFILE_START(&pUVM->vm.s.StatHaltPoll, a);
    675         PDMR3Poll(pVM);
    676         STAM_REL_PROFILE_STOP(&pUVM->vm.s.StatHaltPoll, a);
    677668        STAM_REL_PROFILE_START(&pUVM->vm.s.StatHaltTimers, b);
    678669        TMR3TimerQueuesDo(pVM);
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