VirtualBox

Changeset 13900 in vbox


Ignore:
Timestamp:
Nov 6, 2008 10:11:35 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38903
Message:

Corrections

File:
1 edited

Legend:

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

    r13899 r13900  
    218218        if (RT_SUCCESS(rc))
    219219        {
    220             for (int i=0;i<MAX_EXITREASON_STAT;i++)
     220            for (int j=0;j<MAX_EXITREASON_STAT;j++)
    221221            {
    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);
    224224                AssertRC(rc);
    225225            }
    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);
    227227            AssertRC(rc);
    228228        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette