CARB_PROFILE_SET_CAPTURE_MASK
Defined in carb/profiler/Profile.h
-
CARB_PROFILE_SET_CAPTURE_MASK(mask)
A helper to set the capture mask.
The capture mask is a set of 64 bits. Each profiling zone is bitwise-and’d with the capture mask. If the operation matches the profiling zone mask then the event is included in the profiling output. Otherwise, the event is ignored.
The default capture mask is profiler-specific, but typically has all bits set (i.e. includes everything).
See also
carb::profiler::IProfiler::setCaptureMask()
Warning
Changing the capture mask after the profiler has been started causes undefined behavior.