|
guanaqo
1.0.0-alpha.27
Utilities for scientific software
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | ThreadPerfCounters |
| struct | ScopedCounters |
| Pins the thread to the current CPU and records a snapshot of performance events. More... | |
Functions | |
| std::unique_ptr< detail::ScopedCounters > | start_counters () |
| May return null if PCM is not available. | |
| void | disable_counters () |
| Disables performance counters globally. Blocks until all active counters have stopped. | |
| void | enable_counters () |
| Enables performance counters globally. | |
| template<class F> | |
| ScopedCounters (F &&) -> ScopedCounters< F > | |
| template<class F> | |
| ScopedCounters (F &) -> ScopedCounters< F & > | |
| ThreadPerfCounters & | get_thread_perf_counters () |
| std::atomic_bool & | get_counters_enabled_flag () |
| ThreadPerfCounters & guanaqo::pcm::get_thread_perf_counters | ( | ) |
Definition at line 22 of file counters.cpp.
| std::atomic_bool & guanaqo::pcm::get_counters_enabled_flag | ( | ) |