#include <StopWatch.h>
Public Types | |
using | clock = CLOCK |
Public Member Functions | |
clock::duration | GetDuration () const |
template<class RESOLUTION = std::chrono::milliseconds> | |
size_t | GetElapsedTime () const |
bool | IsRunning () const |
void | Restart () |
void | Stop () |
StopWatchTmpl () | |
Private Attributes | |
clock::time_point | _end |
bool | _is_running |
clock::time_point | _start |
Definition at line 16 of file StopWatch.h.
using carla::detail::StopWatchTmpl< CLOCK >::clock = CLOCK |
Definition at line 20 of file StopWatch.h.
|
inline |
Definition at line 22 of file StopWatch.h.
|
inline |
Definition at line 34 of file StopWatch.h.
References carla::detail::StopWatchTmpl< CLOCK >::_end, carla::detail::StopWatchTmpl< CLOCK >::_is_running, and carla::detail::StopWatchTmpl< CLOCK >::_start.
Referenced by carla::detail::StopWatchTmpl< CLOCK >::GetElapsedTime().
|
inline |
Definition at line 39 of file StopWatch.h.
References carla::detail::StopWatchTmpl< CLOCK >::GetDuration().
|
inline |
Definition at line 43 of file StopWatch.h.
References carla::detail::StopWatchTmpl< CLOCK >::_is_running.
|
inline |
Definition at line 24 of file StopWatch.h.
References carla::detail::StopWatchTmpl< CLOCK >::_is_running, and carla::detail::StopWatchTmpl< CLOCK >::_start.
|
inline |
Definition at line 29 of file StopWatch.h.
References carla::detail::StopWatchTmpl< CLOCK >::_end, and carla::detail::StopWatchTmpl< CLOCK >::_is_running.
|
private |
Definition at line 51 of file StopWatch.h.
Referenced by carla::detail::StopWatchTmpl< CLOCK >::GetDuration(), and carla::detail::StopWatchTmpl< CLOCK >::Stop().
|
private |
Definition at line 53 of file StopWatch.h.
Referenced by carla::detail::StopWatchTmpl< CLOCK >::GetDuration(), carla::detail::StopWatchTmpl< CLOCK >::IsRunning(), carla::detail::StopWatchTmpl< CLOCK >::Restart(), and carla::detail::StopWatchTmpl< CLOCK >::Stop().
|
private |
Definition at line 49 of file StopWatch.h.
Referenced by carla::detail::StopWatchTmpl< CLOCK >::GetDuration(), and carla::detail::StopWatchTmpl< CLOCK >::Restart().