CARB_PROFILE_LOCKABLE_CREATE
Defined in carb/profiler/Profile.h
-
CARB_PROFILE_LOCKABLE_CREATE(maskOrChannel, isSharedLock, name)
Create a lockable context which we can use to tag lock operation.
Note
Do not use this macro directly. Use carb::profiler::ProfiledMutex or carb::profiler::ProfiledSharedMutex instead.
- Parameters
maskOrChannel – Event capture mask or profiling channel
isSharedLock – If this shared for a shared lock
name – The lockable context name