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

Return the current process user CPU time in nanoseconds&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/Types/Int64.adoc[Types::Int64]
getProcessUserTimer();
----

== Description

Return the instantaneous values of a platform&hyphen;dependent timer for the current process user time in absolute nanoseconds referenced to an arbitrary but fixed origin&period; If the system call fails return &hyphen;1&period; Note that this method is thread&hyphen;safe only if `initialize` has been called before&period;

== Return Value

process user CPU time in nanoseconds, or &hyphen;1 on failure


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