3 #include <spdlog/common.h>
58 res += s.collecting_time;
67 res += s.sorting_time;
76 res += s.executing_time;
85 void print_update_log(
size_t total, spdlog::level::level_enum = spdlog::level::info)
const;
110 void log(
const size_t total);
void log(const size_t total)
SchedulerStats run_operation_on_all(operations::Operation &op)
SchedulerStats run_operation_on_all_coloring(operations::Operation &op, const TypedAttributeHandle< int64_t > &color_handle)
void set_update_frequency(std::optional< size_t > &&freq={})
const SchedulerStats & stats() const
std::optional< size_t > m_update_frequency
double total_time() const
std::vector< SchedulerStats > sub_stats
double avg_sub_collecting_time() const
double avg_sub_executing_time() const
int64_t number_of_failed_operations() const
Returns the number of failed operations performed by the scheduler.
void operator+=(const SchedulerStats &s)
int64_t number_of_performed_operations() const
Returns the number of performed operations performed by the scheduler.
double avg_sub_sorting_time() const
int64_t number_of_successful_operations() const
Returns the number of successful operations performed by the scheduler.
void print_update_log(size_t total, spdlog::level::level_enum=spdlog::level::info) const
Handle that represents attributes for some mesh.