CARB_PROFILE_VALUE¶
Defined in carb/profiler/Profile.h
-
CARB_PROFILE_VALUE
(value, mask, 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.
mask – The event mask. See carb::profiler::setCaptureMask().
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
.