[#BloombergLP-bsls-TimeUtil-getProcessTimers] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeUtil.adoc[TimeUtil]::getProcessTimers :relfileprefix: ../../../ :mrdocs: Load the current process system and user CPU times in nanoseconds. == Synopsis Declared in `<bsls_timeutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void getProcessTimers( xref:BloombergLP/bsls/Types/Int64.adoc[Types::Int64]* systemTimer, xref:BloombergLP/bsls/Types/Int64.adoc[Types::Int64]* userTimer); ---- == Description Load into the specified `systemTimer` and `userTimer` the instantaneous values of platform‐dependent system timer and user timer in absolute nanoseconds referenced to an arbitrary but fixed origin. If the system call fails fill both time arguments with ‐1. Note that this method is thread‐safe only if `initialize` has been called before. == Parameters [cols="1,4"] |=== | Name| Description | *systemTimer* | receives the process system time in nanoseconds | *userTimer* | receives the process user time in nanoseconds |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#