Lines Matching defs:TimeTraceProfilerEntry
72 struct llvm::TimeTraceProfilerEntry {
79 TimeTraceProfilerEntry(TimePointType &&S, TimePointType &&E, std::string &&N,
86 TimeTraceProfilerEntry(TimePointType &&S, TimePointType &&E, std::string &&N,
117 TimeTraceProfilerEntry *begin(std::string Name,
120 Stack.emplace_back(std::make_unique<TimeTraceProfilerEntry>(
126 TimeTraceProfilerEntry *
129 Stack.emplace_back(std::make_unique<TimeTraceProfilerEntry>(
140 void end(TimeTraceProfilerEntry &E) {
157 [&](const std::unique_ptr<TimeTraceProfilerEntry> &Val) {
166 [&](const std::unique_ptr<TimeTraceProfilerEntry> &Val) {
230 for (const TimeTraceProfilerEntry &E : Entries)
233 for (const TimeTraceProfilerEntry &E : TTP->Entries)
322 SmallVector<std::unique_ptr<TimeTraceProfilerEntry>, 16> Stack;
323 SmallVector<TimeTraceProfilerEntry, 128> Entries;
405 TimeTraceProfilerEntry *llvm::timeTraceProfilerBegin(StringRef Name,
413 TimeTraceProfilerEntry *
421 TimeTraceProfilerEntry *
429 TimeTraceProfilerEntry *llvm::timeTraceAsyncProfilerBegin(StringRef Name,
442 void llvm::timeTraceProfilerEnd(TimeTraceProfilerEntry *E) {