#include <simulation_progress.hpp>
|
|
void | init_begin (size_t n) |
| |
|
void | init (const std::string &what) |
| |
|
void | init_end () |
| |
|
bool | is_init_ended () const |
| |
|
cloe::Duration | elapsed () const |
| |
|
void | exec_begin () |
| |
|
void | exec_update (double p) |
| |
|
void | exec_update (cloe::Duration now) |
| |
|
void | exec_end () |
| |
|
bool | is_exec_ended () const |
| |
| bool | exec_report () |
| |
|
|
std::string | stage {""} |
| |
|
std::string | message {"initializing engine"} |
| |
|
Progress | initialization |
| |
|
size_t | initialization_n |
| |
|
size_t | initialization_k |
| |
|
Progress | execution |
| |
|
cloe::Duration | execution_eta {0} |
| |
|
double | report_granularity_p {0.1} |
| |
|
cloe::Duration | report_granularity_d {10'000'000'000} |
| |
|
double | execution_report_p |
| |
|
TimePoint | execution_report_t |
| |
SimulationProgress represents the progress of the simulation, split into initialization and execution phases.
◆ exec_report()
| bool engine::SimulationProgress::exec_report |
( |
| ) |
|
|
inline |
Return true and store the current progress percentage and time if the current percentage is granularity_p ahead or at least granularity_d has elapsed since the last report.
The documentation for this class was generated from the following file: