Load the current process system and user CPU times in nanoseconds.
Declared in <bsls_timeutil.h>
static
void
getProcessTimers(
Types::Int64* systemTimer,
Types::Int64* userTimer);
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.
| Name | Description |
|---|---|
| systemTimer | receives the process system time in nanoseconds |
| userTimer | receives the process user time in nanoseconds |