Lines Matching refs:perf_context
13 extern PerfContext perf_context;
17 #define perf_context (*get_perf_context())
19 extern thread_local PerfContext perf_context;
45 PerfStepTimer perf_step_timer_##metric(&(perf_context.metric)); \
50 PerfStepTimer perf_step_timer_##metric(&(perf_context.metric), env); \
56 &(perf_context.metric), env, true, \
62 PerfStepTimer perf_step_timer_##metric(&(perf_context.metric), nullptr, \
76 perf_context.metric += value; \
82 perf_context.per_level_perf_context_enabled && \
83 perf_context.level_to_perf_context) { \
84 if ((*(perf_context.level_to_perf_context)).find(level) != \
85 (*(perf_context.level_to_perf_context)).end()) { \
86 (*(perf_context.level_to_perf_context))[level].metric += value; \
90 (*(perf_context.level_to_perf_context))[level] = empty_context; \
91 (*(perf_context.level_to_perf_context))[level].metric += value; \