Return the time of the most recent metrics reset.

Synopsis

Declared in <bslmt_meteredmutex.h>

bsls::Types::Int64
lastResetTime() const;

Description

Return the time in nanoseconds (referenced to an arbitrary but fixed origin) of the most recent invocation to resetMetrics (or creation time if resetMetrics was never invoked). User can calculate the difference (in nanoseconds) between the current time and the last reset time by expression bsls::TimeUtil::getTimer() ‐ clientMutex.lastResetTime().

Return Value

time in nanoseconds of the most recent metrics reset

Created with MrDocs