CARB_NAME_THREAD

Defined in carb/profiler/Profile.h

CARB_NAME_THREAD(tidOrZero, threadName, ...)

Records the name of a thread.

Parameters
  • tidOrZero – The thread ID that is being named. A value of 0 indicates the current thread. Not all profilers support values other than 0.

  • threadName – The name of the thread. 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 threadName.