Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DTimer.h26 class TimeRecord {
33 TimeRecord() in TimeRecord() function
41 static TimeRecord getCurrentTime(bool Start = true);
50 bool operator<(const TimeRecord &T) const {
55 void operator+=(const TimeRecord &RHS) {
62 void operator-=(const TimeRecord &RHS) {
72 void print(const TimeRecord &Total, raw_ostream &OS) const;
83 TimeRecord Time; ///< The total time captured.
84 TimeRecord StartTime; ///< The time startTimer() was last called.
136 TimeRecord getTotalTime() const { return Time; } in getTotalTime()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DTimer.cpp143 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
145 TimeRecord Result; in getCurrentTime()
169 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
175 Time += TimeRecord::getCurrentTime(false); in stopTimer()
182 Time = StartTime = TimeRecord(); in clear()
192 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
275 const StringMap<TimeRecord> &Records) in TimerGroup()
337 TimeRecord Total; in PrintQueuedTimers()
452 const TimeRecord &T = R.Time; in printJSONValues()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h130 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling()
134 llvm::StringMap<llvm::TimeRecord> &Records;
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp701 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
778 const llvm::TimeRecord &EndTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
H A DCIndex.cpp9177 static llvm::TimeRecord sBeginTR = llvm::TimeRecord::getCurrentTime(); in ~Logger()
9188 llvm::TimeRecord TR = llvm::TimeRecord::getCurrentTime(); in ~Logger()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp790 void setBucket(llvm::TimeRecord *NewBucket) { in setBucket()
792 auto Now = llvm::TimeRecord::getCurrentTime(true); in setBucket()
802 llvm::TimeRecord *Bucket;
1087 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DASTUnit.cpp108 using llvm::TimeRecord;
114 TimeRecord Start;
120 Start = TimeRecord::getCurrentTime(); in SimpleTimer()
125 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()