C++ Actor Framework 1.0.0
|
Imports CPU and memory metrics for the current process. More...
#include <process.hpp>
Public Member Functions | |
process (metric_registry ®) | |
void | update () |
Updates process metrics. | |
Static Public Member Functions | |
static bool | platform_supported () noexcept |
Returns whether the scraper supports the host platform. | |
Imports CPU and memory metrics for the current process.
On supported platforms, this importer adds the metrics process.resident_memory
(resident memory size), process.virtual_memory
(virtual memory size) and process.cpu
(total user and system CPU time spent).
void caf::telemetry::importer::process::update | ( | ) |
Updates process metrics.
platform_supported()
returns false
.