holoscan::CPUInfo
holoscan::CPUInfo
CPUInfo struct.
This struct is responsible for holding the CPU information.
#include <holoscan/cpu_info.hpp>
Member variables
| Name | Type | Description |
|---|---|---|
metric_flags | uint64_t | The metric flags. |
num_cores | int32_t | The number of cores. |
num_cpus | int32_t | The number of CPUs. |
num_processors | int32_t | The number of available processors. |
cpu_usage | float | The CPU usage (in percent). |
memory_total | uint64_t | The total memory (in bytes). |
memory_free | uint64_t | The free memory (in bytes). |
memory_available | uint64_t | The available memory (in bytes). |
memory_usage | float | The memory usage (in percent). |
shared_memory_total | uint64_t | The total shared memory (in bytes). |
shared_memory_free | uint64_t | The free shared memory (in bytes). |
shared_memory_available | uint64_t | The available shared memory (in bytes). |
shared_memory_usage | float | The shared memory usage (in percent). |