CARB_PROFILE_VALUE
Defined in carb/profiler/Profile.h
-
CARB_PROFILE_VALUE(value, maskOrChannel, valueName, ...)
Writes a named numeric value to the profiling output for profilers that support them.
Note
Supported types for
value
arefloat
,uint32_t
andint32_t
.- Parameters
value – The value to record.
maskOrChannel – The event mask (see carb::profiler::setCaptureMask()) or a profiling channel.
valueName – The name of the value. This must be either a literal string or a printf-style format string. Literal strings are far more efficient.
... – Optional printf-style variadic arguments corresponding to format specifiers in
valueName
.