Changeset 13900 in vbox
- Timestamp:
- Nov 6, 2008 10:11:35 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38903
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r13899 r13900 218 218 if (RT_SUCCESS(rc)) 219 219 { 220 for (int i=0;i<MAX_EXITREASON_STAT;i++)220 for (int j=0;j<MAX_EXITREASON_STAT;j++) 221 221 { 222 rc = STAMR3RegisterF(pVM, &pVCpu->hwaccm.s.paStatExitReason[ i], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES, "Exit reason",223 "/HWACCM/ Exit/Reason/%02x", i);222 rc = STAMR3RegisterF(pVM, &pVCpu->hwaccm.s.paStatExitReason[j], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES, "Exit reason", 223 "/HWACCM/CPU%d/Exit/Reason/%02x", i, j); 224 224 AssertRC(rc); 225 225 } 226 rc = STAMR3Register(pVM, &pVCpu->hwaccm.s.StatExitReasonNPF, STAMTYPE_COUNTER, STAMVISIBILITY_USED, "/HWACCM/ Exit/Reason/#NPF", STAMUNIT_OCCURENCES, "Exit reason");226 rc = STAMR3Register(pVM, &pVCpu->hwaccm.s.StatExitReasonNPF, STAMTYPE_COUNTER, STAMVISIBILITY_USED, "/HWACCM/CPU%d/Exit/Reason/#NPF", STAMUNIT_OCCURENCES, "Exit reason", i); 227 227 AssertRC(rc); 228 228 }
Note:
See TracChangeset
for help on using the changeset viewer.