holoscan::CPUInfo

Beta
View as Markdown

CPUInfo struct.

This struct is responsible for holding the CPU information.

#include <holoscan/cpu_info.hpp>

Member variables

NameTypeDescription
metric_flagsuint64_tThe metric flags.
num_coresint32_tThe number of cores.
num_cpusint32_tThe number of CPUs.
num_processorsint32_tThe number of available processors.
cpu_usagefloatThe CPU usage (in percent).
memory_totaluint64_tThe total memory (in bytes).
memory_freeuint64_tThe free memory (in bytes).
memory_availableuint64_tThe available memory (in bytes).
memory_usagefloatThe memory usage (in percent).
shared_memory_totaluint64_tThe total shared memory (in bytes).
shared_memory_freeuint64_tThe free shared memory (in bytes).
shared_memory_availableuint64_tThe available shared memory (in bytes).
shared_memory_usagefloatThe shared memory usage (in percent).