StopWatch Class Reference

#include <ArmarXCore/core/time/StopWatch.h>

+ Inheritance diagram for StopWatch:

Public Member Functions

bool isStopped () const
 
void reset ()
 
IceUtil::Time startingTime () const
 
IceUtil::Time stop ()
 
IceUtil::Time stoppingTime () const
 
 StopWatch (armarx::TimeMode timeMode=armarx::TimeMode::SystemTime)
 
virtual ~StopWatch ()
 

Static Public Member Functions

static IceUtil::Time measure (std::function< void(void)> subjectToMeasure, armarx::TimeMode timeMode=armarx::TimeMode::SystemTime)
 

Detailed Description

Definition at line 120 of file StopWatch.h.

Constructor & Destructor Documentation

◆ StopWatch()

Definition at line 99 of file StopWatch.cpp.

◆ ~StopWatch()

~StopWatch ( )
virtual

Definition at line 108 of file StopWatch.cpp.

Member Function Documentation

◆ isStopped()

bool isStopped ( ) const

Definition at line 140 of file StopWatch.cpp.

+ Here is the caller graph for this function:

◆ measure()

IceUtil::Time measure ( std::function< void(void)>  subjectToMeasure,
armarx::TimeMode  timeMode = armarx::TimeMode::SystemTime 
)
static

Definition at line 115 of file StopWatch.cpp.

◆ reset()

void reset ( )

Definition at line 132 of file StopWatch.cpp.

+ Here is the call graph for this function:

◆ startingTime()

IceUtil::Time startingTime ( ) const

Definition at line 147 of file StopWatch.cpp.

◆ stop()

IceUtil::Time stop ( )

Definition at line 124 of file StopWatch.cpp.

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

◆ stoppingTime()

IceUtil::Time stoppingTime ( ) const

Definition at line 154 of file StopWatch.cpp.

+ Here is the call graph for this function:

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