Ice 3.9
C++ API Reference
Loading...
Searching...
No Matches

◆ Metrics() [2/3]

IceMX::Metrics::Metrics ( std::string id,
std::int64_t total,
std::int32_t current,
std::int64_t totalLifetime,
std::int32_t failures )
inlinenoexcept

One-shot constructor to initialize all data members.

Parameters
idThe metrics identifier.
totalThe total number of objects observed by this metrics.
currentThe number of objects currently observed by this metrics.
totalLifetimeThe sum of the lifetimes of each observed object.
failuresThe number of failures observed.

Definition at line 401 of file Metrics.h.