|
| using | clock = std::chrono::high_resolution_clock |
| using | time_point = std::chrono::time_point<clock> |
| using | duration = std::chrono::duration<double> |
|
| time_point | now () |
| | Counter (int counter_level, std::string counter_name, std::string counter_family="None", bool is_comm=false, bool is_gpu=false) |
| void | begin_count_ (int counter_level, time_point t) |
| void | end_count_ (int count_increment, long int quantity_increment, time_point t_stop) |
| void | set_parent (Counter *parent_counter) |
| double | get_time_ () const |
| bool | running_ () const |
| std::array< std::array< double, 4 >, 4 > | compute_min_max_avg_sd_ () const |
| | update variables : avg_time_per_step_ , min_time_per_step_ , max_time_per_step_ , sd_time_per_step_
|
| void | reset () |
Definition at line 90 of file Perf_counters.cpp.
◆ clock
◆ duration
◆ time_point
◆ Counter()
| Counter::Counter |
( |
int | counter_level, |
|
|
std::string | counter_name, |
|
|
std::string | counter_family = "None", |
|
|
bool | is_comm = false, |
|
|
bool | is_gpu = false ) |
◆ begin_count_()
| void Counter::begin_count_ |
( |
int | counter_level, |
|
|
time_point | t ) |
◆ compute_min_max_avg_sd_()
| std::array< std::array< double, 4 >, 4 > Counter::compute_min_max_avg_sd_ |
( |
| ) |
const |
update variables : avg_time_per_step_ , min_time_per_step_ , max_time_per_step_ , sd_time_per_step_
Definition at line 211 of file Perf_counters.cpp.
◆ end_count_()
| void Counter::end_count_ |
( |
int | count_increment, |
|
|
long int | quantity_increment, |
|
|
time_point | t_stop ) |
◆ get_time_()
| double Counter::get_time_ |
( |
| ) |
const |
|
inline |
◆ now()
◆ reset()
◆ running_()
| bool Counter::running_ |
( |
| ) |
const |
|
inline |
◆ set_parent()
| void Counter::set_parent |
( |
Counter * | parent_counter | ) |
|
|
inline |
◆ avg_time_per_step_
| double Counter::avg_time_per_step_ |
◆ count_
◆ description_
| const std::string Counter::description_ |
◆ family_
| const std::string Counter::family_ |
◆ is_comm_
| const bool Counter::is_comm_ |
◆ is_gpu_
| const bool Counter::is_gpu_ |
◆ is_running_
| bool Counter::is_running_ |
◆ last_open_time_
◆ last_open_time_alone_
◆ level_
◆ max_time_per_step_
| double Counter::max_time_per_step_ |
◆ min_time_per_step_
| double Counter::min_time_per_step_ |
◆ open_time_ts_
◆ parent_
◆ quantity_
| long int Counter::quantity_ |
◆ time_alone_
◆ time_ts_
◆ total_time_
◆ var_time_per_step_
| double Counter::var_time_per_step_ |
The documentation for this struct was generated from the following file: