CARB_PROFILE_LOCKABLE_OPERATION

Defined in carb/profiler/Profile.h

CARB_PROFILE_LOCKABLE_OPERATION(lockableId, operation)

Records a lockable operation on a thread’s timeline at the current time.

Note

Do not use this macro directly. Use carb::profiler::ProfiledMutex or carb::profiler::ProfiledSharedMutex instead.

Parameters
  • lockableId – the id of the lockable as returned by carb::profiler::IProfiler::createLockable()

  • operation – which lock operation to tag