Use 5%-accurate log-bucketing statistics in profiler

This commit is contained in:
Nikita Lisitsa 2024-06-03 23:25:50 +03:00
parent 30877401a3
commit ea037acbc0

View file

@ -21,7 +21,7 @@ namespace psemek::prof
profiler_tree * parent = nullptr;
std::mutex * mutex = nullptr;
util::statistics_lite<double> execution_time;
util::statistics_log_bucket<double, 0.05> execution_time;
std::map<std::string, profiler_tree> children;
std::vector<std::map<std::string, profiler_tree>::iterator> children_list;