Lines Matching full:instances
47 static TimeTraceProfilerInstances Instances;
48 return Instances;
175 auto &Instances = getTimeTraceProfilerInstances();
176 std::lock_guard<std::mutex> Lock(Instances.Lock);
179 assert(llvm::all_of(Instances.List,
232 for (const TimeTraceProfiler *TTP : Instances.List)
240 for (const TimeTraceProfiler *TTP : Instances.List)
254 for (const TimeTraceProfiler *TTP : Instances.List)
305 for (const TimeTraceProfiler *TTP : Instances.List)
363 auto &Instances = getTimeTraceProfilerInstances();
364 std::lock_guard<std::mutex> Lock(Instances.Lock);
365 for (auto *TTP : Instances.List)
367 Instances.List.clear();
373 auto &Instances = getTimeTraceProfilerInstances();
374 std::lock_guard<std::mutex> Lock(Instances.Lock);
375 Instances.List.push_back(TimeTraceProfilerInstance);