Ice 3.8
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 lifetime of each observed objects.
failuresThe number of failures observed.

Definition at line 345 of file Metrics.h.