Changeset 19753 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 15, 2009 6:35:52 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TM.cpp
r19752 r19753 588 588 STAM_REG(pVM, &pVM->tm.s.StatVirtualGet, STAMTYPE_COUNTER, "/TM/VirtualGet", STAMUNIT_OCCURENCES, "The number of times TMTimerGet was called when the clock was running."); 589 589 STAM_REG(pVM, &pVM->tm.s.StatVirtualGetSetFF, STAMTYPE_COUNTER, "/TM/VirtualGetSetFF", STAMUNIT_OCCURENCES, "Times we set the FF when calling TMTimerGet."); 590 STAM_REG(pVM, &pVM->tm.s.StatVirtualSyncGet, STAMTYPE_COUNTER, "/TM/VirtualSyncGet", STAMUNIT_OCCURENCES, "The number of times TMTimerSyncGet was called when the clock was running."); 591 STAM_REG(pVM, &pVM->tm.s.StatVirtualSyncGetSetFF, STAMTYPE_COUNTER, "/TM/VirtualSyncGetSetFF", STAMUNIT_OCCURENCES, "Times we set the FF when calling TMTimerSyncGet."); 592 STAM_REG(pVM, &pVM->tm.s.StatVirtualSyncGetELoop, STAMTYPE_COUNTER, "/TM/VirtualSyncGetELoop", STAMUNIT_OCCURENCES, "Times we give up because too many loops in TMTimerSyncGet."); 590 STAM_REG(pVM, &pVM->tm.s.StatVirtualSyncGet, STAMTYPE_COUNTER, "/TM/VirtualSyncGet", STAMUNIT_OCCURENCES, "The number of times tmVirtualSyncGetEx was called."); 591 STAM_REG(pVM, &pVM->tm.s.StatVirtualSyncGetSetFF, STAMTYPE_COUNTER, "/TM/VirtualSyncGetSetFF", STAMUNIT_OCCURENCES, "Times we set the FF when calling tmVirtualSyncGetEx."); 592 STAM_REG(pVM, &pVM->tm.s.StatVirtualSyncGetELoop, STAMTYPE_COUNTER, "/TM/VirtualSyncGetELoop", STAMUNIT_OCCURENCES, "Times we give up because too many loops in tmVirtualSyncGetEx."); 593 STAM_REG(pVM, &pVM->tm.s.StatVirtualSyncGetLocked, STAMTYPE_COUNTER, "/TM/VirtualSyncGetLocked", STAMUNIT_OCCURENCES, "Times we successfully acquired the lock in tmVirtualSyncGetEx."); 593 594 STAM_REG(pVM, &pVM->tm.s.StatVirtualPause, STAMTYPE_COUNTER, "/TM/VirtualPause", STAMUNIT_OCCURENCES, "The number of times TMR3TimerPause was called."); 594 595 STAM_REG(pVM, &pVM->tm.s.StatVirtualResume, STAMTYPE_COUNTER, "/TM/VirtualResume", STAMUNIT_OCCURENCES, "The number of times TMR3TimerResume was called."); -
trunk/src/VBox/VMM/TMInternal.h
r19752 r19753 460 460 STAMCOUNTER StatVirtualSyncGetSetFF; 461 461 STAMCOUNTER StatVirtualSyncGetELoop; 462 STAMCOUNTER StatVirtualSyncGetLocked; 462 463 STAMCOUNTER StatVirtualPause; 463 464 STAMCOUNTER StatVirtualResume; -
trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
r19752 r19753 573 573 VMR3NotifyCpuFFU(pVCpuDst->pUVCpu, VMNOTIFYFF_FLAGS_DONE_REM); 574 574 #endif 575 STAM_COUNTER_INC(&pVM->tm.s.StatVirtualSyncGetLocked); 575 576 STAM_COUNTER_INC(&pVM->tm.s.StatVirtualSyncGetSetFF); 576 577 Log4(("TM: %RU64/%RU64: exp tmr=>ff\n", u64, pVM->tm.s.offVirtualSync - pVM->tm.s.offVirtualSyncGivenUp)); … … 591 592 } 592 593 else if (RT_SUCCESS(rcLock)) 594 { 593 595 tmVirtualSyncUnlock(pVM); 596 STAM_COUNTER_INC(&pVM->tm.s.StatVirtualSyncGetLocked); 597 } 594 598 595 599 return u64;
Note:
See TracChangeset
for help on using the changeset viewer.