|
guanaqo
main
Utilities for scientific software
|
#include <guanaqo/pcm/counters.hpp>#include <atomic>#include <bit>#include <cmath>#include <format>#include <memory>#include <mutex>#include <vector>#include <msr.h>#include <sched.h>#include <types.h>#include <unistd.h>Go to the source code of this file.
Namespaces | |
| namespace | guanaqo |
| namespace | guanaqo::pcm |
| namespace | guanaqo::pcm::detail |
Functions | |
| ThreadPerfCounters & | guanaqo::pcm::get_thread_perf_counters () |
| std::atomic_bool & | guanaqo::pcm::get_counters_enabled_flag () |
| void | guanaqo::pcm::disable_counters () |
| Disables performance counters globally. Blocks until all active counters have stopped. | |
| void | guanaqo::pcm::enable_counters () |
| Enables performance counters globally. | |
| std::unique_ptr< detail::ScopedCounters > | guanaqo::pcm::start_counters () |
| May return null if PCM is not available. | |