![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <StopWatch.h>
Public Member Functions | |
| void | add (const StopWatch< TimeT, ClockT > &other) |
| long long int | elapsed () const |
| long long int | getAverage () const |
| const std::vector< TimeT > & | getHistory () const |
| long long int | getTotal () const |
| void | start () |
| long long int | stop () |
| StopWatch (const bool calibrate=false) | |
Private Attributes | |
| std::chrono::time_point< ClockT > | myEnd |
| std::vector< TimeT > | myHistory |
| std::chrono::time_point< ClockT > | myStart |
| TimeT | myTimingCost |
Definition at line 35 of file StopWatch.h.
|
inline |
Definition at line 37 of file StopWatch.h.
References myEnd, myStart, myTimingCost, and start().
Referenced by add().
|
inline |
Definition at line 63 of file StopWatch.h.
References myHistory, and StopWatch().
Referenced by MSEdgeControl::~MSEdgeControl().
|
inline |
Definition at line 57 of file StopWatch.h.
References myEnd, myHistory, myStart, and myTimingCost.
Referenced by stop().
|
inline |
Definition at line 71 of file StopWatch.h.
References myHistory.
Referenced by MSEdgeControl::~MSEdgeControl().
|
inline |
Definition at line 67 of file StopWatch.h.
References myHistory.
Referenced by MSEdgeControl::~MSEdgeControl().
|
inline |
Definition at line 75 of file StopWatch.h.
References myHistory.
Referenced by MSEdgeControl::~MSEdgeControl().
|
inline |
Definition at line 48 of file StopWatch.h.
References myEnd, and myStart.
Referenced by StopWatch().
|
inline |
Definition at line 52 of file StopWatch.h.
|
private |
Definition at line 81 of file StopWatch.h.
Referenced by elapsed(), start(), stop(), and StopWatch().
|
mutableprivate |
Definition at line 83 of file StopWatch.h.
Referenced by add(), elapsed(), getAverage(), getHistory(), and getTotal().
|
private |
Definition at line 80 of file StopWatch.h.
Referenced by elapsed(), start(), and StopWatch().
|
private |
Definition at line 82 of file StopWatch.h.
Referenced by elapsed(), and StopWatch().