Searched defs:TimeTraceProfiler (Results 1 – 2 of 2) sorted by relevance
61 struct TimeTraceProfiler { struct62 TimeTraceProfiler(unsigned TimeTraceGranularity = 0, StringRef ProcName = "") in TimeTraceProfiler() argument66 void begin(std::string Name, llvm::function_ref<std::string()> Detail) { in begin()71 void end() { in end()106 void Write(raw_pwrite_stream &OS) { in Write()181 SmallVector<Entry, 16> Stack;182 SmallVector<Entry, 128> Entries;183 StringMap<CountAndDurationType> CountAndTotalPerName;184 const TimePointType StartTime;185 const std::string ProcName;[all …]
76 struct llvm::TimeTraceProfiler { struct in llvm77 TimeTraceProfiler(unsigned TimeTraceGranularity = 0, StringRef ProcName = "") in TimeTraceProfiler() argument84 void begin(std::string Name, llvm::function_ref<std::string()> Detail) { in begin()89 void end() { in end()126 void write(raw_pwrite_stream &OS) { in write()249 SmallVector<Entry, 16> Stack;250 SmallVector<Entry, 128> Entries;251 StringMap<CountAndDurationType> CountAndTotalPerName;252 const time_point<system_clock> BeginningOfTime;253 const TimePointType StartTime;[all …]