[#BloombergLP-bsls-TimeUtil-getTimerRaw]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeUtil.adoc[TimeUtil]::getTimerRaw
:relfileprefix: ../../../
:mrdocs:

Load into the specified `timeValue` the value of an opaque, platform&hyphen;dependent type representing the current time&period; `timeValue` must be converted by the `convertRawTime` method to conventional units (nanoseconds)&period; This method is intended to facilitate accurate timing of small segments of code, and care must be used in interpreting the results&period; Note that this method is thread&hyphen;safe only if `initialize` has been called before&period;

== Synopsis

Declared in `&lt;bsls&lowbar;timeutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
getTimerRaw(xref:BloombergLP/bsls/TimeUtil/OpaqueNativeTime.adoc[OpaqueNativeTime]* timeValue);
----


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