[#BloombergLP-bslmt-MeteredMutex-lastResetTime]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/MeteredMutex.adoc[MeteredMutex]::lastResetTime
:relfileprefix: ../../../
:mrdocs:

Return the time of the most recent metrics reset&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;meteredmutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/Types/Int64.adoc[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)&period; User can calculate the difference (in nanoseconds) between the current time and the last reset time by expression `bsls&colon;&colon;TimeUtil&colon;&colon;getTimer() &hyphen; clientMutex&period;lastResetTime()`&period;

== Return Value

time in nanoseconds of the most recent metrics reset


[.small]#Created with https://www.mrdocs.com[MrDocs]#
