MRPT  1.9.9
Classes | Functions | Variables
Clock.cpp File Reference
#include "core-precomp.h"
#include <mrpt/core/Clock.h>
#include <mrpt/core/exceptions.h>
#include <windows.h>
#include <ctime>
#include <iostream>
Include dependency graph for Clock.cpp:

Go to the source code of this file.

Classes

struct  MonotonicToRealtimeEpoch
 

Functions

static uint64_t getCurrentTime () noexcept
 

Variables

static mrpt::Clock::Source selectedClock = mrpt::Clock::Source::Realtime
 
static MonotonicToRealtimeEpoch m2r_epoch
 
static bool monotonic_epoch_init = false
 

Function Documentation

◆ getCurrentTime()

static uint64_t getCurrentTime ( )
staticnoexcept

Definition at line 46 of file Clock.cpp.

References m2r_epoch, monotonic_epoch_init, mrpt::Clock::resetMonotonicToRealTimeEpoch(), MonotonicToRealtimeEpoch::rt2mono_diff, selectedClock, and mrpt::math::sum().

Referenced by CGraphSlamHandler< GRAPH_T >::initOutputDir(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::initResultsFile(), and mrpt::Clock::now().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ m2r_epoch

MonotonicToRealtimeEpoch m2r_epoch
static

◆ monotonic_epoch_init

bool monotonic_epoch_init = false
static

◆ selectedClock




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020