PlatformSampler

Abstract base for platform-specific system resource sampling.

Declared in src/libs/libinventory/inventory/sampler/PlatformSampler.hpp
Inherited By LinuxSampler
Group monitor

Detailed description

PlatformSampler defines the interface for collecting CPU, GPU, memory, disk, network, filesystem, and process metrics. The static create() factory returns the appropriate implementation for the current OS: LinuxSampler on Linux, WindowsSampler (below) on Windows.

See also LinuxSampler, ResourceMonitor.

In this section