rippled
|
Public Member Functions | |
LoadEvent (LoadMonitor &monitor, std::string const &name, bool shouldStart) | |
LoadEvent (LoadEvent const &)=delete | |
~LoadEvent () | |
std::string const & | name () const |
std::chrono::steady_clock::duration | waitTime () const |
std::chrono::steady_clock::duration | runTime () const |
void | setName (std::string const &name) |
void | start () |
void | stop () |
Private Attributes | |
LoadMonitor & | monitor_ |
bool | running_ |
std::string | name_ |
std::chrono::steady_clock::time_point | mark_ |
std::chrono::steady_clock::duration | timeWaiting_ |
std::chrono::steady_clock::duration | timeRunning_ |
Definition at line 36 of file LoadEvent.h.
ripple::LoadEvent::LoadEvent | ( | LoadMonitor & | monitor, |
std::string const & | name, | ||
bool | shouldStart | ||
) |
Definition at line 27 of file LoadEvent.cpp.
|
delete |
ripple::LoadEvent::~LoadEvent | ( | ) |
Definition at line 40 of file LoadEvent.cpp.
std::string const & ripple::LoadEvent::name | ( | ) | const |
Definition at line 47 of file LoadEvent.cpp.
std::chrono::steady_clock::duration ripple::LoadEvent::waitTime | ( | ) | const |
Definition at line 53 of file LoadEvent.cpp.
std::chrono::steady_clock::duration ripple::LoadEvent::runTime | ( | ) | const |
Definition at line 59 of file LoadEvent.cpp.
void ripple::LoadEvent::setName | ( | std::string const & | name | ) |
Definition at line 65 of file LoadEvent.cpp.
void ripple::LoadEvent::start | ( | ) |
Definition at line 71 of file LoadEvent.cpp.
void ripple::LoadEvent::stop | ( | ) |
Definition at line 84 of file LoadEvent.cpp.
|
private |
Definition at line 72 of file LoadEvent.h.
|
private |
Definition at line 75 of file LoadEvent.h.
|
private |
Definition at line 78 of file LoadEvent.h.
|
private |
Definition at line 81 of file LoadEvent.h.
|
private |
Definition at line 84 of file LoadEvent.h.
|
private |
Definition at line 85 of file LoadEvent.h.