|
Ninja
|
A simple stopwatch which returns the time in seconds since Restart() was called. More...
#include <metrics.h>
Public Member Functions | |
| double | Elapsed () const |
| Seconds since Restart() call. More... | |
| void | Restart () |
| Stopwatch () | |
Private Member Functions | |
| uint64_t | NowRaw () const |
Private Attributes | |
| uint64_t | started_ |
A simple stopwatch which returns the time in seconds since Restart() was called.
| double Stopwatch::Elapsed | ( | ) | const |
Seconds since Restart() call.
Definition at line 102 of file metrics.cc.
|
private |
Definition at line 107 of file metrics.cc.
Referenced by Restart().
|
inline |
|
private |