Add worker sleep stats, rework stats machinery
The idea of the new stats machinery is that 'stats' becomes an option that enables the basic stats gathering infrastructure in EMPER. At some point, it should become a non-user option, i.e., it should be remove from meson_options.txt. Then comes a layer of fine-grained stats control switches, which default to 'auto'. Third, a new option called 'stats_all' is added, which, if enabled, activates all fine-graind stats knobs that are set to 'auto'.
Showing
- emper/Dispatcher.cpp 36 additions, 1 deletionemper/Dispatcher.cpp
- emper/Dispatcher.hpp 11 additions, 0 deletionsemper/Dispatcher.hpp
- emper/Emper.hpp 8 additions, 0 deletionsemper/Emper.hpp
- emper/Runtime.cpp 12 additions, 0 deletionsemper/Runtime.cpp
- emper/Runtime.hpp 4 additions, 0 deletionsemper/Runtime.hpp
- emper/lib/env.hpp 1 addition, 1 deletionemper/lib/env.hpp
- emper/stats/Worker.cpp 35 additions, 0 deletionsemper/stats/Worker.cpp
- emper/stats/Worker.hpp 14 additions, 0 deletionsemper/stats/Worker.hpp
- meson.build 28 additions, 2 deletionsmeson.build
- meson_options.txt 20 additions, 2 deletionsmeson_options.txt
Loading