rippled
|
Gives heartbeat of simulation to signal simulation progression. More...
Public Member Functions | |
HeartbeatTimer (Scheduler &sched, SimDuration interval=std::chrono::seconds{60}, std::ostream &out=std::cerr) | |
void | start () |
void | beat (SimTime when) |
Private Attributes | |
Scheduler & | scheduler_ |
SimDuration | interval_ |
std::ostream & | out_ |
RealTime | startRealTime_ |
SimTime | startSimTime_ |
Gives heartbeat of simulation to signal simulation progression.
ripple::test::csf::HeartbeatTimer::HeartbeatTimer | ( | Scheduler & | sched, |
SimDuration | interval = std::chrono::seconds{60} , |
||
std::ostream & | out = std::cerr |
||
) |
void ripple::test::csf::HeartbeatTimer::beat | ( | SimTime | when | ) |
|
private |
|
private |
|
private |
|
private |