MRPT  2.0.2
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.2 Git: 9b4fd2465 Mon May 4 16:59:08 2020 +0200 at lun may 4 17:26:07 CEST 2020