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 | Now () const |
Private Attributes | |
uint64_t | started_ |
A simple stopwatch which returns the time in seconds since Restart() was called.
|
inline |
|
private |
Definition at line 120 of file metrics.cc.