Public Member Functions | Private Attributes | List of all members
Timer Class Reference

#include <timer.h>

Public Member Functions

long long int elapsedTimeMicroSec ()
 
long long int elapsedTimeMilliSec ()
 
long long int elapsedTimeNanoSec ()
 
long long int elaspedTimeSec ()
 
void endMeasure ()
 
bool isFinished ()
 
void reset ()
 
void startMeasure ()
 
void startTimer (int micro_secs)
 

Private Attributes

std::chrono::steady_clock::time_point begin_
 
std::chrono::steady_clock::time_point end_
 
int micro_secs_ = 0
 
bool started_ = false
 

Detailed Description

Definition at line 10 of file timer.h.

Member Function Documentation

long long int Timer::elapsedTimeMicroSec ( )

Definition at line 57 of file timer.cpp.

long long int Timer::elapsedTimeMilliSec ( )

Definition at line 48 of file timer.cpp.

long long int Timer::elapsedTimeNanoSec ( )

Definition at line 52 of file timer.cpp.

long long int Timer::elaspedTimeSec ( )

Definition at line 44 of file timer.cpp.

void Timer::endMeasure ( )

Definition at line 21 of file timer.cpp.

bool Timer::isFinished ( )

Definition at line 36 of file timer.cpp.

void Timer::reset ( )

Definition at line 7 of file timer.cpp.

void Timer::startMeasure ( )

Definition at line 17 of file timer.cpp.

void Timer::startTimer ( int  micro_secs)

Definition at line 26 of file timer.cpp.

Member Data Documentation

std::chrono::steady_clock::time_point Timer::begin_
private

Definition at line 13 of file timer.h.

std::chrono::steady_clock::time_point Timer::end_
private

Definition at line 14 of file timer.h.

int Timer::micro_secs_ = 0
private

Definition at line 15 of file timer.h.

bool Timer::started_ = false
private

Definition at line 16 of file timer.h.


The documentation for this class was generated from the following files:


ric_interface
Author(s):
autogenerated on Wed Jan 3 2018 03:48:20