NVIDIA Holoscan SDK v2.2.0
Holoscan v2.2.0

Class SystemResourceManager

class SystemResourceManager

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.

Public Functions

SystemResourceManager()
virtual ~SystemResourceManager() = default
CPUResourceMonitor *cpu_monitor()

Get CPU resource monitor.

Returns

The pointer to the CPU resource monitor.

GPUResourceMonitor *gpu_monitor()

Get GPU resource monitor.

Returns

The pointer to the GPU resource monitor.

Protected Attributes

std::shared_ptr<Topology> topology_

The topology of the system.

std::shared_ptr<CPUResourceMonitor> cpu_resource_monitor_

The CPU resource monitor.

std::shared_ptr<GPUResourceMonitor> gpu_resource_monitor_

The GPU resource monitor.

Previous Class StdComponentSerializer
Next Class Tensor
© Copyright 2022-2023, NVIDIA. Last updated on Aug 2, 2024.