Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DTimer.h26 class TimeRecord {
32 TimeRecord() : WallTime(0), UserTime(0), SystemTime(0), MemUsed(0) {} in TimeRecord() function
38 static TimeRecord getCurrentTime(bool Start = true);
48 bool operator<(const TimeRecord &T) const {
53 void operator+=(const TimeRecord &RHS) {
59 void operator-=(const TimeRecord &RHS) {
68 void print(const TimeRecord &Total, raw_ostream &OS) const;
80 TimeRecord Time;
163 std::vector<std::pair<TimeRecord, std::string> > TimersToPrint;
/external/llvm/lib/Support/
DTimer.cpp127 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
128 TimeRecord Result; in getCurrentTime()
150 Time -= TimeRecord::getCurrentTime(true); in startTimer()
154 Time += TimeRecord::getCurrentTime(false); in stopTimer()
173 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
316 TimeRecord Total; in PrintQueuedTimers()
349 const std::pair<TimeRecord, std::string> &Entry = TimersToPrint[e-i-1]; in PrintQueuedTimers()
373 T->Time = TimeRecord(); in print()
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h124 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling()
128 llvm::StringMap<llvm::TimeRecord> &Records;
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp671 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
739 const llvm::TimeRecord &EndTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
DCIndex.cpp7320 static llvm::TimeRecord sBeginTR = llvm::TimeRecord::getCurrentTime(); in ~Logger()
7331 llvm::TimeRecord TR = llvm::TimeRecord::getCurrentTime(); in ~Logger()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp508 void setBucket(llvm::TimeRecord *NewBucket) { in setBucket()
510 auto Now = llvm::TimeRecord::getCurrentTime(true); in setBucket()
520 llvm::TimeRecord *Bucket;
730 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
/external/llvm/test/CodeGen/PowerPC/
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…
/external/clang/lib/Frontend/
DASTUnit.cpp52 using llvm::TimeRecord;
57 TimeRecord Start;
63 Start = TimeRecord::getCurrentTime(); in SimpleTimer()
73 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp4471 llvm::StringMap<llvm::TimeRecord> Records; in TEST()