holoscan::SystemResourceManager

Beta
View as Markdown

SystemResourceManager class.

This class is responsible for monitoring the system resources. It provides the information about the topology of the system and the system resources such as CPU, GPU, etc. This information is collected by the AppWorker and passed to the AppDriver for scheduling in the distributed application.

#include <holoscan/system_resource_manager.hpp>

Constructors

SystemResourceManager

Destructor

~SystemResourceManager

virtual holoscan::SystemResourceManager::~SystemResourceManager() = default

Methods

cpu_monitor

CPUResourceMonitor * holoscan::SystemResourceManager::cpu_monitor()

Get CPU resource monitor.

Returns: The pointer to the CPU resource monitor.

gpu_monitor

GPUResourceMonitor * holoscan::SystemResourceManager::gpu_monitor()

Get GPU resource monitor.

Returns: The pointer to the GPU resource monitor.


Member variables

NameTypeDescription
topology_std::shared_ptr< Topology >The topology of the system.
cpu_resource_monitor_std::shared_ptr< CPUResourceMonitor >The CPU resource monitor.
gpu_resource_monitor_std::shared_ptr< GPUResourceMonitor >The GPU resource monitor.