Scope guard that opens and closes a CpuProfiler active interval.
Definition: cpu_profiler_guard.h:80
~CpuProfilerGuard() noexcept
Destructor; closes the active interval on the bound profiler.
CpuProfilerGuard(class CpuProfiler *profiler) noexcept
Constructs the guard and opens the active interval on profiler.
Tracks active CPU time as a percentage of wall-clock time using a SpinLock guard.
Definition: cpu_profiler.h:95
Cross-platform macros for visibility, branch hints, copy prevention, singletons and string helpers.
#define VLINK_EXPORT
Definition: macros.h:81
#define VLINK_DISALLOW_COPY_AND_ASSIGN(classname)
Deletes the copy constructor and copy-assignment operator of classname.
Definition: macros.h:174