Searched refs:TimeRecord (Results 1 – 5 of 5) sorted by relevance
27 class TimeRecord {39 static TimeRecord getCurrentTime(bool Start = true);47 bool operator<(const TimeRecord &T) const {52 void operator+=(const TimeRecord &RHS) {58 void operator-=(const TimeRecord &RHS) {67 void print(const TimeRecord &Total, raw_ostream &OS) const;78 TimeRecord Time; ///< The total time captured.131 TimeRecord getTotalTime() const { return Time; } in getTotalTime()173 TimeRecord Time;178 PrintRecord(const TimeRecord &Time, const std::string &Name, in PrintRecord()[all …]
114 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()116 TimeRecord Result; in getCurrentTime()137 StartTime = TimeRecord::getCurrentTime(true); in startTimer()143 Time += TimeRecord::getCurrentTime(false); in stopTimer()149 Time = StartTime = TimeRecord(); in clear()159 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()240 const StringMap<TimeRecord> &Records) in TimerGroup()300 TimeRecord Total; in PrintQueuedTimers()408 const TimeRecord &T = R.Time; in printJSONValues()
125 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling()129 llvm::StringMap<llvm::TimeRecord> &Records;
522 void setBucket(llvm::TimeRecord *NewBucket) { in setBucket()524 auto Now = llvm::TimeRecord::getCurrentTime(true); in setBucket()534 llvm::TimeRecord *Bucket;773 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
106 using llvm::TimeRecord;112 TimeRecord Start;118 Start = TimeRecord::getCurrentTime(); in SimpleTimer()123 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()