BloombergLP::bsls::TimeUtil::convertRawTime

Convert an opaque native time value to nanoseconds.

Synopsis

Declared in <bsls_timeutil.h>

static
Types::Int64
convertRawTime(OpaqueNativeTime rawTime);

Description

Convert the specified rawTime to a value in nanoseconds, referenced to an arbitrary but fixed origin, and return the result of the conversion. Note that this method is thread-safe only if initialize has been called before.

Return Value

rawTime converted to nanoseconds from a fixed origin

Parameters

NameDescription
rawTimeopaque native time value to convert