MRPT  2.0.4
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 2.0.4 Git: 7b5ddf9de Fri May 29 14:02:56 2020 +0200 at vie may 29 14:15:09 CEST 2020