|
libadc-cxx 1.0.0
Structured logging for scientific computing
|

Macros | |
| #define | ADC_HS_ |
| bit values to control content of the host section. | |
| #define | ADC_HS_BASE 0x0 |
| ADC_HS_BASE collects just the hostname via gethostname() | |
| #define | ADC_HS_OS 0x1 |
| ADC_HS_OS collects other items from uname(). | |
| #define | ADC_HS_RAMSIZE 0x2 |
| ADC_HS_RAMSIZE collects MemTotal. | |
| #define | ADC_HS_ENV 0x4 |
| ADC_HS_ENV collects env vars listed in env("ADC_HOST_SECTION_ENV") which is :-separated. Example: ADC_HOST_SECTION_ENV="SNLCLUSTER:SNLNETWORK:SNLSITE:SNLSYSTEM:SNLOS". | |
| #define | ADC_HS_CPU 0x10 |
| ADC_HS_CPU collects details from lscpu -J (requires lscpu installed) | |
| #define | ADC_HS_GPU 0x20 |
| ADC_HS_GPU collects gpu data available from lspci (requires lspci installed) | |
| #define | ADC_HS_NUMA 0x40 |
| ADC_HS_NUMA collects numa node, cpu, and per node memory from numactl -H (requires numactl installed) | |
| #define | ADC_HS_ALL (ADC_HS_OS|ADC_HS_RAMSIZE|ADC_HS_ENV|ADC_HS_CPU|ADC_HS_GPU|ADC_HS_NUMA) |
| all ADC_HS_* optional data included | |
Typedefs | |
| typedef int32_t | adc::adc_hs_subsection_flags |
| #define ADC_HS_ |
bit values to control content of the host section.
The host data section has a variety of optional subsections. The ADC_HS_* bit values desired are ORd (|) together. The data for subsections with identifier >= 0x10 is expensive, constant, and should not be collected multiple times per program run.
Dynamic meminfo usage is collected with add_memory_usage_section not the host section.
Definition at line 42 of file builder.hpp.
| #define ADC_HS_BASE 0x0 |
ADC_HS_BASE collects just the hostname via gethostname()
Definition at line 47 of file builder.hpp.
| #define ADC_HS_OS 0x1 |
ADC_HS_OS collects other items from uname().
Definition at line 50 of file builder.hpp.
| #define ADC_HS_RAMSIZE 0x2 |
ADC_HS_RAMSIZE collects MemTotal.
Definition at line 53 of file builder.hpp.
| #define ADC_HS_ENV 0x4 |
ADC_HS_ENV collects env vars listed in env("ADC_HOST_SECTION_ENV") which is :-separated. Example: ADC_HOST_SECTION_ENV="SNLCLUSTER:SNLNETWORK:SNLSITE:SNLSYSTEM:SNLOS".
Definition at line 57 of file builder.hpp.
| #define ADC_HS_CPU 0x10 |
ADC_HS_CPU collects details from lscpu -J (requires lscpu installed)
Definition at line 60 of file builder.hpp.
| #define ADC_HS_GPU 0x20 |
ADC_HS_GPU collects gpu data available from lspci (requires lspci installed)
Definition at line 63 of file builder.hpp.
| #define ADC_HS_NUMA 0x40 |
ADC_HS_NUMA collects numa node, cpu, and per node memory from numactl -H (requires numactl installed)
Definition at line 66 of file builder.hpp.
| #define ADC_HS_ALL (ADC_HS_OS|ADC_HS_RAMSIZE|ADC_HS_ENV|ADC_HS_CPU|ADC_HS_GPU|ADC_HS_NUMA) |
all ADC_HS_* optional data included
Definition at line 69 of file builder.hpp.
| typedef int32_t adc::adc_hs_subsection_flags |
OR-d ADC_HS_* bits
Definition at line 44 of file builder.hpp.