8#ifndef INCLUDED_BSLS_TIMEUTIL
9#define INCLUDED_BSLS_TIMEUTIL
241#include <bsls_platform.h>
244#ifdef BSLS_PLATFORM_OS_UNIX
248#if defined(BSLS_PLATFORM_OS_AIX) || defined(BSLS_PLATFORM_OS_FREEBSD) || defined(BSLS_PLATFORM_OS_DARWIN)
249 #include <sys/time.h>
274#if defined BSLS_PLATFORM_OS_SOLARIS
275 typedef struct {
Types::Int64 d_opaque; } OpaqueNativeTime;
276#elif defined BSLS_PLATFORM_OS_AIX
277 typedef timebasestruct_t OpaqueNativeTime;
278#elif defined(BSLS_PLATFORM_OS_LINUX) || defined(BSLS_PLATFORM_OS_CYGWIN)
279 typedef timespec OpaqueNativeTime;
280#elif defined BSLS_PLATFORM_OS_DARWIN
282#elif defined BSLS_PLATFORM_OS_UNIX
283 typedef timeval OpaqueNativeTime;
284#elif defined BSLS_PLATFORM_OS_WINDOWS
285 typedef struct {
Types::Int64 d_opaque; } OpaqueNativeTime;
344#ifndef BDE_OPENSOURCE_PUBLICATION
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
bsls::TimeUtil bsls_TimeUtil
This alias is defined for backward compatibility.
Definition bsls_timeutil.h:350
Definition bdlt_iso8601util.h:691
Definition bsls_timeutil.h:271
static Types::Int64 convertRawTime(OpaqueNativeTime rawTime)
static Types::Int64 getTimer()
static Types::Int64 getProcessUserTimer()
static void getTimerRaw(OpaqueNativeTime *timeValue)
static void getProcessTimers(Types::Int64 *systemTimer, Types::Int64 *userTimer)
static Types::Int64 getProcessSystemTimer()
unsigned long long Uint64
Definition bsls_types.h:137
long long Int64
Definition bsls_types.h:132