Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DTimer.h25 class TimeRecord {
32 TimeRecord() in TimeRecord() function
40 static TimeRecord getCurrentTime(bool Start = true);
49 bool operator<(const TimeRecord &T) const {
54 void operator+=(const TimeRecord &RHS) {
61 void operator-=(const TimeRecord &RHS) {
71 void print(const TimeRecord &Total, raw_ostream &OS) const;
82 TimeRecord Time; ///< The total time captured.
135 TimeRecord getTotalTime() const { return Time; } in getTotalTime()
177 TimeRecord Time;
[all …]
/llvm-project-15.0.7/mlir/lib/Support/
H A DTiming.cpp112 struct TimeRecord { struct
115 TimeRecord &operator+=(const TimeRecord &other) { in operator +=() argument
121 TimeRecord &operator-=(const TimeRecord &other) { in operator -=() argument
129 void print(raw_ostream &os, const TimeRecord &total) { in print() argument
142 TimeRecord time, TimeRecord total) { in printTimeEntry()
148 static void printTimeHeader(raw_ostream &os, TimeRecord total) { in printTimeHeader()
313 TimeRecord getTimeRecord() { in getTimeRecord()
314 return TimeRecord( in getTimeRecord()
322 void printAsList(raw_ostream &os, TimeRecord total) { in printAsList()
324 llvm::StringMap<TimeRecord> mergedTimers; in printAsList()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DTimer.cpp168 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
170 TimeRecord Result; in getCurrentTime()
194 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
200 Time += TimeRecord::getCurrentTime(false); in stopTimer()
207 Time = StartTime = TimeRecord(); in clear()
217 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
300 const StringMap<TimeRecord> &Records) in TimerGroup()
362 TimeRecord Total; in PrintQueuedTimers()
476 const TimeRecord &T = R.Time; in printJSONValues()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp185 void DisplayTime(llvm::TimeRecord &Time) { in DisplayTime()
681 llvm::TimeRecord CheckerStartTime; in HandleCode()
689 llvm::TimeRecord CheckerEndTime = SyntaxCheckTimer->getTotalTime(); in HandleCode()
723 llvm::TimeRecord ExprEngineStartTime; in RunPathSensitiveChecks()
732 llvm::TimeRecord ExprEngineEndTime = ExprEngineTimer->getTotalTime(); in RunPathSensitiveChecks()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyProfiling.h48 llvm::StringMap<llvm::TimeRecord> Records;
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h130 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling()
134 llvm::StringMap<llvm::TimeRecord> &Records;
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp703 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
780 const llvm::TimeRecord &EndTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
H A DCIndex.cpp9436 static llvm::TimeRecord sBeginTR = llvm::TimeRecord::getCurrentTime(); in ~Logger()
9447 llvm::TimeRecord TR = llvm::TimeRecord::getCurrentTime(); in ~Logger()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp993 void setBucket(llvm::TimeRecord *NewBucket) { in setBucket()
995 auto Now = llvm::TimeRecord::getCurrentTime(true); in setBucket()
1005 llvm::TimeRecord *Bucket;
1308 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersInternalTest.cpp202 llvm::StringMap<llvm::TimeRecord> Records; in TEST()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dtoc-load-sched-bug.ll137 %"class.llvm::Timer" = type { %"class.llvm::TimeRecord", %"class.std::basic_string", i8, %"class.ll…
138 %"class.llvm::TimeRecord" = type { double, double, double, i64 }
141 …t.std::_Vector_base<std::pair<llvm::TimeRecord, std::basic_string<char> >, std::allocator<std::pai…
142 …t.std::_Vector_base<std::pair<llvm::TimeRecord, std::basic_string<char> >, std::allocator<std::pai…
/llvm-project-15.0.7/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()