1#include "Framework/Performance/Tracker.h"
3namespace framework::performance {
8 const std::vector<std::string>& names)
9 : storage_directory_{storage_directory} {
26 names_.reserve(names.size() + 1);
28 for (
const std::string& name : names) {
37 timer_set.resize(
names_.size());
58 for (std::size_t i{0}; i <
names_.size(); i++) {
73 std::vector<Callback> non_event_callbacks = {
74 Callback::onProcessStart, Callback::onProcessEnd, Callback::onFileOpen,
75 Callback::onFileClose, Callback::beforeNewRun, Callback::onNewRun};
76 for (
auto& callback : non_event_callbacks) {
77 TDirectory* callback_d =
79 for (std::size_t i_proc{0}; i_proc <
names_.size(); i_proc++) {
106 for (std::size_t i_proc{0}; i_proc <
names_.size(); i_proc++) {