Project
Loading...
Searching...
No Matches
o2::framework::ResourcesMonitoringHelper Struct Reference

#include <ResourcesMonitoringHelper.h>

Static Public Member Functions

static bool dumpMetricsToJSON (std::vector< DeviceMetricsInfo > const &metrics, DeviceMetricsInfo const &driverMetrics, std::vector< DeviceSpec > const &specs, std::vector< std::regex > const &metricsToDump) noexcept
 
static bool isResourcesMonitoringEnabled (unsigned short interval) noexcept
 

Detailed Description

Definition at line 26 of file ResourcesMonitoringHelper.h.

Member Function Documentation

◆ dumpMetricsToJSON()

bool ResourcesMonitoringHelper::dumpMetricsToJSON ( std::vector< DeviceMetricsInfo > const &  metrics,
DeviceMetricsInfo const &  driverMetrics,
std::vector< DeviceSpec > const &  specs,
std::vector< std::regex > const &  metricsToDump 
)
staticnoexcept

Dump the metrics in metrics which match the names specified in metricsToDump specs are the DeviceSpecs associated to the metrics.

Definition at line 55 of file ResourcesMonitoringHelper.cxx.

◆ isResourcesMonitoringEnabled()

static bool o2::framework::ResourcesMonitoringHelper::isResourcesMonitoringEnabled ( unsigned short  interval)
inlinestaticnoexcept

Definition at line 33 of file ResourcesMonitoringHelper.h.


The documentation for this struct was generated from the following files: