Home
last modified time | relevance | path

Searched refs:TimeRecord (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DTimer.h27 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 …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DTimer.cpp114 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()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h125 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling()
129 llvm::StringMap<llvm::TimeRecord> &Records;
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp522 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;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp106 using llvm::TimeRecord;
112 TimeRecord Start;
118 Start = TimeRecord::getCurrentTime(); in SimpleTimer()
123 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()