VirtualBox

Changeset 93468 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jan 27, 2022 9:17:12 PM (3 years ago)
Author:
vboxsync
Message:

VBoxDbg,VMM/STAM,Main: Converted VBoxDbg to use the VMM function table, extending the STAMR3Enum to include the unit string to avoid needing to call STAMR3GetUnit a lot. The latter would better fit with the XML based viewer, as it only gets the string version of the unit. Had to adjust a user of STAMR3Enum in Main. bugref:10074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestImpl.h

    r93166 r93468  
    189189    void i_updateStats(uint64_t iTick);
    190190    static DECLCALLBACK(int) i_staticEnumStatsCallback(const char *pszName, STAMTYPE enmType, void *pvSample,
    191                                                        STAMUNIT enmUnit, STAMVISIBILITY enmVisiblity,
     191                                                       STAMUNIT enmUnit, const char *pszUnit, STAMVISIBILITY enmVisiblity,
    192192                                                       const char *pszDesc, void *pvUser);
    193193
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