Classes | Public Member Functions | Private Attributes | List of all members
Timer Class Reference
Inheritance diagram for Timer:
Inheritance graph
[legend]

Classes

struct  Data
 
class  Section
 

Public Member Functions

std::size_t count () const
 
const std::string & getName () const
 
const Datalast () const
 
const Datamax () const
 
const Datamin () const
 
Timeroperator+= (const Data &other)
 
Timeroperator+= (const Timer &other)
 
void reset ()
 
void tic ()
 
 Timer (const std::string &name="")
 
Timertoc ()
 
const Datatotal () const
 
TimerupdateFrom (const Timer &other)
 

Private Attributes

std::size_t count_
 
Data last_delta_
 
Data max_
 
Data min_
 
std::string name_
 
Data tic_
 
Data total_
 

Detailed Description

Definition at line 629 of file dataflow_performance_test.cpp.

Constructor & Destructor Documentation

Timer::Timer ( const std::string &  name = "")
inline

Definition at line 641 of file dataflow_performance_test.cpp.

Member Function Documentation

std::size_t Timer::count ( ) const
inline

Definition at line 655 of file dataflow_performance_test.cpp.

const std::string& Timer::getName ( void  ) const
inline

Definition at line 646 of file dataflow_performance_test.cpp.

const Data& Timer::last ( ) const
inline

Definition at line 654 of file dataflow_performance_test.cpp.

const Data& Timer::max ( ) const
inline

Definition at line 653 of file dataflow_performance_test.cpp.

const Data& Timer::min ( ) const
inline

Definition at line 652 of file dataflow_performance_test.cpp.

Timer& Timer::operator+= ( const Data other)
inline

Definition at line 657 of file dataflow_performance_test.cpp.

Timer& Timer::operator+= ( const Timer other)
inline

Definition at line 663 of file dataflow_performance_test.cpp.

void Timer::reset ( )
inline

Definition at line 684 of file dataflow_performance_test.cpp.

void Timer::tic ( )
inline

Definition at line 694 of file dataflow_performance_test.cpp.

Timer& Timer::toc ( )
inline

Definition at line 710 of file dataflow_performance_test.cpp.

const Data& Timer::total ( ) const
inline

Definition at line 651 of file dataflow_performance_test.cpp.

Timer& Timer::updateFrom ( const Timer other)
inline

Definition at line 673 of file dataflow_performance_test.cpp.

Member Data Documentation

std::size_t Timer::count_
private

Definition at line 753 of file dataflow_performance_test.cpp.

Data Timer::last_delta_
private

Definition at line 751 of file dataflow_performance_test.cpp.

Data Timer::max_
private

Definition at line 749 of file dataflow_performance_test.cpp.

Data Timer::min_
private

Definition at line 749 of file dataflow_performance_test.cpp.

std::string Timer::name_
private

Definition at line 752 of file dataflow_performance_test.cpp.

Data Timer::tic_
private

Definition at line 750 of file dataflow_performance_test.cpp.

Data Timer::total_
private

Definition at line 749 of file dataflow_performance_test.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:46