Searched refs:TimeTraceProfilerInstance (Results 1 – 3 of 3) sorted by relevance
27 TimeTraceProfiler *TimeTraceProfilerInstance = nullptr; variable193 assert(TimeTraceProfilerInstance == nullptr && in timeTraceProfilerInitialize()195 TimeTraceProfilerInstance = new TimeTraceProfiler( in timeTraceProfilerInitialize()200 delete TimeTraceProfilerInstance; in timeTraceProfilerCleanup()201 TimeTraceProfilerInstance = nullptr; in timeTraceProfilerCleanup()205 assert(TimeTraceProfilerInstance != nullptr && in timeTraceProfilerWrite()207 TimeTraceProfilerInstance->Write(OS); in timeTraceProfilerWrite()211 if (TimeTraceProfilerInstance != nullptr) in timeTraceProfilerBegin()212 TimeTraceProfilerInstance->begin(Name, [&]() { return Detail; }); in timeTraceProfilerBegin()217 if (TimeTraceProfilerInstance != nullptr) in timeTraceProfilerBegin()[all …]
17 extern TimeTraceProfiler *TimeTraceProfilerInstance;30 return TimeTraceProfilerInstance != nullptr; in timeTraceProfilerEnabled()62 if (TimeTraceProfilerInstance != nullptr) in TimeTraceScope()66 if (TimeTraceProfilerInstance != nullptr) in TimeTraceScope()70 if (TimeTraceProfilerInstance != nullptr) in TimeTraceScope()74 if (TimeTraceProfilerInstance != nullptr) in ~TimeTraceScope()
36 static LLVM_THREAD_LOCAL TimeTraceProfiler *TimeTraceProfilerInstance = nullptr; variable39 return TimeTraceProfilerInstance; in getTimeTraceProfilerInstance()265 assert(TimeTraceProfilerInstance == nullptr && in timeTraceProfilerInitialize()267 TimeTraceProfilerInstance = new TimeTraceProfiler( in timeTraceProfilerInitialize()274 delete TimeTraceProfilerInstance; in timeTraceProfilerCleanup()285 ThreadTimeTraceProfilerInstances.push_back(TimeTraceProfilerInstance); in timeTraceProfilerFinishThread()286 TimeTraceProfilerInstance = nullptr; in timeTraceProfilerFinishThread()290 assert(TimeTraceProfilerInstance != nullptr && in timeTraceProfilerWrite()292 TimeTraceProfilerInstance->write(OS); in timeTraceProfilerWrite()297 assert(TimeTraceProfilerInstance != nullptr && in timeTraceProfilerWrite()[all …]