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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DTimer.h26 class TimeRecord { class in namespace:llvm
32 TimeRecord() : WallTime(0), UserTime(0), SystemTime(0), MemUsed(0) {} function in class:llvm::TimeRecord
38 static TimeRecord getCurrentTime(bool Start = true);
46 bool operator<(const TimeRecord &T) const {
51 void operator+=(const TimeRecord &RHS) {
57 void operator-=(const TimeRecord &RHS) {
66 void print(const TimeRecord &Total, raw_ostream &OS) const;
77 TimeRecord Time; ///< The total time captured.
78 TimeRecord StartTime; ///< The time startTimer() was last called.
130 TimeRecord getTotalTim
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DTimer.cpp118 TimeRecord TimeRecord::getCurrentTime(bool Start) {
120 TimeRecord Result;
142 StartTime = TimeRecord::getCurrentTime(true);
148 Time += TimeRecord::getCurrentTime(false);
155 Time = StartTime = TimeRecord();
165 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const {
246 const StringMap<TimeRecord> &Records)
306 TimeRecord Tota
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h124 Profiling(llvm::StringMap<llvm::TimeRecord> &Records)
128 llvm::StringMap<llvm::TimeRecord> &Records;
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp582 void setBucket(llvm::TimeRecord *NewBucket) {
584 auto Now = llvm::TimeRecord::getCurrentTime(true);
594 llvm::TimeRecord *Bucket;
854 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp107 using llvm::TimeRecord;
113 TimeRecord Start;
119 Start = TimeRecord::getCurrentTime();
124 TimeRecord Elapsed = TimeRecord::getCurrentTime();

Completed in 121 milliseconds