Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DTimer.h31 class TimeRecord {
37 TimeRecord() : WallTime(0), UserTime(0), SystemTime(0), MemUsed(0) {} in TimeRecord() function
43 static TimeRecord getCurrentTime(bool Start = true);
53 bool operator<(const TimeRecord &T) const {
58 void operator+=(const TimeRecord &RHS) {
64 void operator-=(const TimeRecord &RHS) {
73 void print(const TimeRecord &Total, raw_ostream &OS) const;
85 TimeRecord Time;
168 std::vector<std::pair<TimeRecord, std::string> > TimersToPrint;
/external/llvm/lib/Support/
DTimer.cpp129 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
130 TimeRecord Result; in getCurrentTime()
152 Time -= TimeRecord::getCurrentTime(true); in startTimer()
156 Time += TimeRecord::getCurrentTime(false); in stopTimer()
175 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
318 TimeRecord Total; in PrintQueuedTimers()
351 const std::pair<TimeRecord, std::string> &Entry = TimersToPrint[e-i-1]; in PrintQueuedTimers()
375 T->Time = TimeRecord(); in print()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp679 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
741 const llvm::TimeRecord &EndTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
/external/clang/lib/Frontend/
DASTUnit.cpp51 using llvm::TimeRecord;
56 TimeRecord Start;
62 Start = TimeRecord::getCurrentTime(); in SimpleTimer()
72 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()