VirtualBox

Changeset 93468 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 27, 2022 9:17:12 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149580
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/include/VBox/vmm/stam.h

    r93115 r93468  
    13411341 * @param   pvSample        Pointer to the data. enmType indicates the format of this data.
    13421342 * @param   enmUnit         The unit.
     1343 * @param   pszUnit         The unit as string.  This is a permanent string,
     1344 *                          same as returned by STAMR3GetUnit().
    13431345 * @param   enmVisibility   The visibility.
    13441346 * @param   pszDesc         The description.
     
    13461348 */
    13471349typedef DECLCALLBACKTYPE(int, FNSTAMR3ENUM,(const char *pszName, STAMTYPE enmType, void *pvSample, STAMUNIT enmUnit,
    1348                                             STAMVISIBILITY enmVisibility, const char *pszDesc, void *pvUser));
     1350                                            const char *pszUnit, STAMVISIBILITY enmVisibility, const char *pszDesc, void *pvUser));
    13491351/** Pointer to a FNSTAMR3ENUM(). */
    13501352typedef FNSTAMR3ENUM *PFNSTAMR3ENUM;
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