VirtualBox

Changeset 32769 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Sep 27, 2010 8:40:49 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66218
Message:

DevVGA: Added a screen update stat.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r32676 r32769  
    48914891#endif /* VBOX_WITH_HGSMI */
    48924892
     4893    STAM_COUNTER_INC(&pThis->StatUpdateDisp);
    48934894    if (pThis->fHasDirtyBits && pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32)
    48944895    {
     
    68286829    STAM_REG(pVM, &pThis->StatR3MemoryWrite,    STAMTYPE_PROFILE, "/Devices/VGA/R3/MMIO-Write", STAMUNIT_TICKS_PER_CALL, "Profiling of the VGAGCMemoryWrite() body.");
    68296830    STAM_REG(pVM, &pThis->StatMapPage,          STAMTYPE_COUNTER, "/Devices/VGA/MapPageCalls",  STAMUNIT_OCCURENCES,     "Calls to IOMMMIOMapMMIO2Page.");
     6831    STAM_REG(pVM, &pThis->StatUpdateDisp,       STAMTYPE_COUNTER, "/Devices/VGA/UpdateDisplay", STAMUNIT_OCCURENCES,     "Calls to vgaPortUpdateDisplay().");
    68306832
    68316833    /* Init latched access mask. */
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r32622 r32769  
    339339    STAMPROFILE                 StatR3MemoryWrite;
    340340    STAMCOUNTER                 StatMapPage;            /**< Counts IOMMMIOMapMMIO2Page calls.  */
     341    STAMCOUNTER                 StatUpdateDisp;         /**< Counts vgaPortUpdateDisplay calls.  */
    341342
    342343    /* Keep track of ring 0 latched accesses to the VGA MMIO memory. */
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