BloombergLP::bslmt::MeteredMutex::waitTime

Return accumulated wait time since the last metrics reset.

Synopsis

Declared in <bslmt_meteredmutex.h>

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

Description

Return the wait time (in nanoseconds), accumulated since the most recent call to resetMetrics (or MeteredMutex if resetMetrics was never called).

Return Value

wait time in nanoseconds