VirtualBox

Changeset 102828 in vbox for trunk/include/VBox/vmm/stam.h


Ignore:
Timestamp:
Jan 11, 2024 1:47:40 AM (13 months ago)
Author:
vboxsync
Message:

VMM/STAM: Added two new aggregate sample types. bugref:10371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/stam.h

    r102077 r102828  
    176176    /** Generic boolean value. Reset to false. */
    177177    STAMTYPE_BOOL_RESET,
     178    /** Start of the internal types. */
     179    STAMTYPE_FIRST_INTERNAL_TYPE,
     180    /** Sum of two or more other samples. */
     181    STAMTYPE_INTERNAL_SUM = STAMTYPE_FIRST_INTERNAL_TYPE,
     182    /** Percent of a sum. */
     183    STAMTYPE_INTERNAL_PCT_OF_SUM,
    178184    /** The end (exclusive). */
    179185    STAMTYPE_END
     
    242248    /** Percentage. */
    243249    STAMUNIT_PCT,
     250    /** Parts per thousand. */
     251    STAMUNIT_PP1K,
     252    /** Parts per ten thousand. */
     253    STAMUNIT_PP10K,
     254    /** Parts per million. */
     255    STAMUNIT_PPM,
     256    /** Parts per billion. */
     257    STAMUNIT_PPB,
    244258    /** Hertz. */
    245259    STAMUNIT_HZ,
     
    13371351                                       const char *pszName, va_list va) RT_IPRT_FORMAT_ATTR(8, 0);
    13381352
     1353VMMR3DECL(int)  STAMR3RegisterSum(PUVM pUVM, STAMVISIBILITY enmVisibility, const char *pszSummandPattern,
     1354                                  const char *pszDesc, const char *pszName, ...) RT_IPRT_FORMAT_ATTR(4, 5);
     1355VMMR3DECL(int)  STAMR3RegisterSumV(PUVM pUVM, STAMVISIBILITY enmVisibility, const char *pszSummandPattern,
     1356                                   const char *pszDesc, const char *pszName, va_list va) RT_IPRT_FORMAT_ATTR(4, 0);
     1357VMMR3DECL(int)  STAMR3RegisterPctOfSum(PUVM pUVM, STAMVISIBILITY enmVisibility, STAMUNIT enmUnit, const char *pszValue,
     1358                                       const char *pszSummandPattern, const char *pszDesc, const char *pszName, ...);
     1359VMMR3DECL(int)  STAMR3RegisterPctOfSumV(PUVM pUVM, STAMVISIBILITY enmVisibility, STAMUNIT enmUnit, const char *pszValue,
     1360                                        const char *pszSummandPattern, const char *pszDesc, const char *pszName, va_list va);
     1361
    13391362VMMR3DECL(int)  STAMR3Deregister(PUVM pUVM, const char *pszPat);
    13401363VMMR3DECL(int)  STAMR3DeregisterF(PUVM pUVM, const char *pszPatFmt, ...) RT_IPRT_FORMAT_ATTR(2, 3);
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