Class to handle the performance monitors.
More...
#include <perfmonitors.h>
Class to handle the performance monitors.
◆ PerformanceMonitor()
PerformanceMonitor::PerformanceMonitor |
( |
const std::string & |
service, |
|
|
StorageClient * |
storage |
|
) |
| |
Constructor for the performance monitors.
- Parameters
-
service | The name of the service |
storage | Point to the storage client class for the service |
◆ collect()
void PerformanceMonitor::collect |
( |
const std::string & |
name, |
|
|
long |
value |
|
) |
| |
|
inline |
Collect a performance monitor.
- Parameters
-
name | Name of the monitor |
calue | Value of the monitor |
◆ setCollecting()
void PerformanceMonitor::setCollecting |
( |
bool |
state | ) |
|
Set the collection state of the performance monitors.
- Parameters
-
state | The required collection state |
The documentation for this class was generated from the following files:
- C/services/common/include/perfmonitors.h
- C/services/common/perfmonitor.cpp