Searched refs:TimeRecord (Results 1 – 9 of 9) sorted by relevance
/external/llvm/include/llvm/Support/ |
D | Timer.h | 26 class TimeRecord { 32 TimeRecord() : WallTime(0), UserTime(0), SystemTime(0), MemUsed(0) {} in TimeRecord() function 38 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; 79 TimeRecord Time; 160 std::vector<std::pair<TimeRecord, std::string>> TimersToPrint;
|
/external/llvm/lib/Support/ |
D | Timer.cpp | 120 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime() 121 TimeRecord Result; in getCurrentTime() 143 Time -= TimeRecord::getCurrentTime(true); in startTimer() 147 Time += TimeRecord::getCurrentTime(false); in stopTimer() 166 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print() 308 TimeRecord Total; in PrintQueuedTimers() 341 const std::pair<TimeRecord, std::string> &Entry = TimersToPrint[e-i-1]; in PrintQueuedTimers() 365 T->Time = TimeRecord(); in print()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 125 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling() 129 llvm::StringMap<llvm::TimeRecord> &Records;
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 658 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl() 724 const llvm::TimeRecord &EndTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
|
D | CIndex.cpp | 7590 static llvm::TimeRecord sBeginTR = llvm::TimeRecord::getCurrentTime(); in ~Logger() 7601 llvm::TimeRecord TR = llvm::TimeRecord::getCurrentTime(); in ~Logger()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 502 void setBucket(llvm::TimeRecord *NewBucket) { in setBucket() 504 auto Now = llvm::TimeRecord::getCurrentTime(true); in setBucket() 514 llvm::TimeRecord *Bucket; 721 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
|
/external/llvm/test/CodeGen/PowerPC/ |
D | toc-load-sched-bug.ll | 137 %"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…
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 53 using llvm::TimeRecord; 58 TimeRecord Start; 64 Start = TimeRecord::getCurrentTime(); in SimpleTimer() 74 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 4772 llvm::StringMap<llvm::TimeRecord> Records; in TEST()
|