![]() |
Project
|
#include <TimingHelpers.h>
Static Public Member Functions | |
static std::function< void(int64_t &base, int64_t &offset)> | defaultRealtimeBaseConfigurator (uint64_t offset, uv_loop_t *loop) |
static std::function< int64_t(int64_t base, int64_t offset)> | defaultCPUTimeConfigurator (uv_loop_t *loop) |
static int64_t | getRealtimeSinceEpochStandalone () |
Definition at line 21 of file TimingHelpers.h.
|
static |
Definition at line 30 of file TimingHelpers.cxx.
|
static |
Return a function which can be used to retrieve the base timestamp and the associated fast offset for the realtime clock.
Definition at line 19 of file TimingHelpers.cxx.
|
static |
Milliseconds since epoch, using the standard C++ clock. This will do a system call every minute or so to synchronize the clock and minimise drift.
Get milliseconds from epoch minimising the amount of system calls we do to get the time.
Definition at line 37 of file TimingHelpers.cxx.