BloombergLP::balb::PerformanceMonitor::Measure

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>

enum Measure;

Members

NameDescription
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 [deprecated]Deprecated alias for e_CPU_TIME.
BAEA_CPU_TIME_USER [deprecated]Deprecated alias for e_CPU_TIME_USER.
BAEA_CPU_TIME_SYSTEM [deprecated]Deprecated alias for e_CPU_TIME_SYSTEM.
BAEA_CPU_UTIL [deprecated]Deprecated alias for e_CPU_UTIL.
BAEA_CPU_UTIL_USER [deprecated]Deprecated alias for e_CPU_UTIL_USER.
BAEA_CPU_UTIL_SYSTEM [deprecated]Deprecated alias for e_CPU_UTIL_SYSTEM.
BAEA_RESIDENT_SIZE [deprecated]Deprecated alias for e_RESIDENT_SIZE.
BAEA_NUM_THREADS [deprecated]Deprecated alias for e_NUM_THREADS.
BAEA_NUM_PAGEFAULTS [deprecated]Deprecated alias for e_NUM_PAGEFAULTS.
BAEA_VIRTUAL_SIZE [deprecated]Deprecated alias for e_VIRTUAL_SIZE.
BAEA_NUM_MEASURES [deprecated]Deprecated alias for e_NUM_MEASURES.
CPU_TIME [deprecated]Deprecated alias for e_CPU_TIME.
CPU_TIME_USER [deprecated]Deprecated alias for e_CPU_TIME_USER.
CPU_TIME_SYSTEM [deprecated]Deprecated alias for e_CPU_TIME_SYSTEM.
CPU_UTIL [deprecated]Deprecated alias for e_CPU_UTIL.
CPU_UTIL_USER [deprecated]Deprecated alias for e_CPU_UTIL_USER.
CPU_UTIL_SYSTEM [deprecated]Deprecated alias for e_CPU_UTIL_SYSTEM.
RESIDENT_SIZE [deprecated]Deprecated alias for e_RESIDENT_SIZE.
NUM_THREADS [deprecated]Deprecated alias for e_NUM_THREADS.
NUM_PAGEFAULTS [deprecated]Deprecated alias for e_NUM_PAGEFAULTS.
VIRTUAL_SIZE [deprecated]Deprecated alias for e_VIRTUAL_SIZE.
NUM_MEASURES [deprecated]Deprecated alias for e_NUM_MEASURES.