[#BloombergLP-balb-PerformanceMonitor-Measure] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PerformanceMonitor.adoc[PerformanceMonitor]::Measure :relfileprefix: ../../../ :mrdocs: Enumerates the set of performance measures this class is capable of monitoring. Note that CPU utilization measures are calculated as a ratio of CPU time to elapsed time between two consecutive calls to `collect`, and therefore no value will be available if `collect` has been called only once. Note that not all measures are supported on all platforms; for an unsupported measure, the behavior is as if the system reports a zero value. == Synopsis Declared in `<balb_performancemonitor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum Measure; ---- == Members [cols="1,4"] |=== | Name| Description | `e_CPU_TIME` | CPU time (seconds). | `e_CPU_TIME_USER` | User CPU time (seconds). | `e_CPU_TIME_SYSTEM` | System CPU time (seconds). | `e_CPU_UTIL` | Weighted CPU % (user + system). | `e_CPU_UTIL_USER` | Weighted user CPU %. | `e_CPU_UTIL_SYSTEM` | Weighted system CPU %. | `e_RESIDENT_SIZE` | Number of MBs of physical memory. | `e_NUM_THREADS` | Number of threads. | `e_NUM_PAGEFAULTS` | Number of pagefaults (major + minor). | `e_VIRTUAL_SIZE` | Number of MBs in the heap. | `e_NUM_MEASURES` | Number of measure enumerators. | `BAEA_CPU_TIME` [.small]#[deprecated]# | Deprecated alias for `e_CPU_TIME`. | `BAEA_CPU_TIME_USER` [.small]#[deprecated]# | Deprecated alias for `e_CPU_TIME_USER`. | `BAEA_CPU_TIME_SYSTEM` [.small]#[deprecated]# | Deprecated alias for `e_CPU_TIME_SYSTEM`. | `BAEA_CPU_UTIL` [.small]#[deprecated]# | Deprecated alias for `e_CPU_UTIL`. | `BAEA_CPU_UTIL_USER` [.small]#[deprecated]# | Deprecated alias for `e_CPU_UTIL_USER`. | `BAEA_CPU_UTIL_SYSTEM` [.small]#[deprecated]# | Deprecated alias for `e_CPU_UTIL_SYSTEM`. | `BAEA_RESIDENT_SIZE` [.small]#[deprecated]# | Deprecated alias for `e_RESIDENT_SIZE`. | `BAEA_NUM_THREADS` [.small]#[deprecated]# | Deprecated alias for `e_NUM_THREADS`. | `BAEA_NUM_PAGEFAULTS` [.small]#[deprecated]# | Deprecated alias for `e_NUM_PAGEFAULTS`. | `BAEA_VIRTUAL_SIZE` [.small]#[deprecated]# | Deprecated alias for `e_VIRTUAL_SIZE`. | `BAEA_NUM_MEASURES` [.small]#[deprecated]# | Deprecated alias for `e_NUM_MEASURES`. | `CPU_TIME` [.small]#[deprecated]# | Deprecated alias for `e_CPU_TIME`. | `CPU_TIME_USER` [.small]#[deprecated]# | Deprecated alias for `e_CPU_TIME_USER`. | `CPU_TIME_SYSTEM` [.small]#[deprecated]# | Deprecated alias for `e_CPU_TIME_SYSTEM`. | `CPU_UTIL` [.small]#[deprecated]# | Deprecated alias for `e_CPU_UTIL`. | `CPU_UTIL_USER` [.small]#[deprecated]# | Deprecated alias for `e_CPU_UTIL_USER`. | `CPU_UTIL_SYSTEM` [.small]#[deprecated]# | Deprecated alias for `e_CPU_UTIL_SYSTEM`. | `RESIDENT_SIZE` [.small]#[deprecated]# | Deprecated alias for `e_RESIDENT_SIZE`. | `NUM_THREADS` [.small]#[deprecated]# | Deprecated alias for `e_NUM_THREADS`. | `NUM_PAGEFAULTS` [.small]#[deprecated]# | Deprecated alias for `e_NUM_PAGEFAULTS`. | `VIRTUAL_SIZE` [.small]#[deprecated]# | Deprecated alias for `e_VIRTUAL_SIZE`. | `NUM_MEASURES` [.small]#[deprecated]# | Deprecated alias for `e_NUM_MEASURES`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#