Home
last modified time | relevance | path

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

12

/external/llvm-project/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);
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 getTotalTime() const { return Time; } in getTotalTime()
[all …]
/external/swiftshader/third_party/llvm-10.0/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);
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 getTotalTime() const { return Time; } in getTotalTime()
[all …]
/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);
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; // The total time captured
80 TimeRecord StartTime; // The time startTimer() was last called
125 TimeRecord getTotalTime() const { return Time; } in getTotalTime()
[all …]
/external/swiftshader/third_party/llvm-subzero/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);
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 getTotalTime() const { return Time; } in getTotalTime()
[all …]
/external/llvm-project/mlir/lib/Pass/
DPassTiming.cpp28 struct TimeRecord { struct
29 TimeRecord(double wall = 0.0, double user = 0.0) : wall(wall), user(user) {} in TimeRecord() function
31 TimeRecord &operator+=(const TimeRecord &other) { in operator +=() argument
39 void print(raw_ostream &os, const TimeRecord &total) { in print() argument
86 TimeRecord getTotalTime() { in getTotalTime()
89 return TimeRecord( in getTotalTime()
97 TimeRecord totalTime; in getTotalTime()
200 void printResultsAsList(raw_ostream &os, Timer *root, TimeRecord totalTime);
204 TimeRecord totalTime);
326 static void printTimerHeader(raw_ostream &os, TimeRecord total) { in printTimerHeader()
[all …]
/external/llvm/lib/Support/
DTimer.cpp120 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
121 TimeRecord Result; in getCurrentTime()
141 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
147 Time += TimeRecord::getCurrentTime(false); in stopTimer()
153 Time = StartTime = TimeRecord(); in clear()
163 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
305 TimeRecord Total; in PrintQueuedTimers()
338 const std::pair<TimeRecord, std::string> &Entry = TimersToPrint[e-i-1]; in PrintQueuedTimers()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DTimer.cpp120 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
122 TimeRecord Result; in getCurrentTime()
143 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
149 Time += TimeRecord::getCurrentTime(false); in stopTimer()
155 Time = StartTime = TimeRecord(); in clear()
165 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
297 TimeRecord Total; in PrintQueuedTimers()
384 const TimeRecord &T = R.Time; in printJSONValues()
/external/llvm-project/llvm/lib/Support/
DTimer.cpp123 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
125 TimeRecord Result; in getCurrentTime()
147 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
153 Time += TimeRecord::getCurrentTime(false); in stopTimer()
160 Time = StartTime = TimeRecord(); in clear()
170 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
251 const StringMap<TimeRecord> &Records) in TimerGroup()
313 TimeRecord Total; in PrintQueuedTimers()
426 const TimeRecord &T = R.Time; in printJSONValues()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTimer.cpp118 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime()
120 TimeRecord Result; in getCurrentTime()
142 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
148 Time += TimeRecord::getCurrentTime(false); in stopTimer()
155 Time = StartTime = TimeRecord(); in clear()
165 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print()
246 const StringMap<TimeRecord> &Records) in TimerGroup()
306 TimeRecord Total; in PrintQueuedTimers()
419 const TimeRecord &T = R.Time; in printJSONValues()
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h125 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling()
129 llvm::StringMap<llvm::TimeRecord> &Records;
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyProfiling.h48 llvm::StringMap<llvm::TimeRecord> Records;
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchFinder.h124 Profiling(llvm::StringMap<llvm::TimeRecord> &Records) in Profiling()
128 llvm::StringMap<llvm::TimeRecord> &Records;
/external/python/cpython2/Mac/Modules/qt/
Dqtsupport.py194 TimeRecord = OpaqueType("TimeRecord", "QtTimeRecord") variable
195 TimeRecord_ptr = TimeRecord
D_Qtmodule.c57 QtTimeRecord_New(TimeRecord *itself) in QtTimeRecord_New()
68 QtTimeRecord_Convert(PyObject *v, TimeRecord *p_itself) in QtTimeRecord_Convert()
1406 TimeRecord tr; in TimeBaseObj_GetTimeBaseTime()
1425 TimeRecord tr; in TimeBaseObj_SetTimeBaseTime()
1496 TimeRecord tr; in TimeBaseObj_GetTimeBaseStartTime()
1515 TimeRecord tr; in TimeBaseObj_SetTimeBaseStartTime()
1534 TimeRecord tr; in TimeBaseObj_GetTimeBaseStopTime()
1553 TimeRecord tr; in TimeBaseObj_SetTimeBaseStopTime()
1603 TimeRecord slaveZero; in TimeBaseObj_SetTimeBaseMasterTimeBase()
1638 TimeRecord slaveZero; in TimeBaseObj_SetTimeBaseMasterClock()
[all …]
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp658 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
724 const llvm::TimeRecord &EndTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp502 void setBucket(llvm::TimeRecord *NewBucket) { in setBucket()
504 auto Now = llvm::TimeRecord::getCurrentTime(true); in setBucket()
514 llvm::TimeRecord *Bucket;
732 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
/external/llvm-project/clang/tools/libclang/
DCIndexCodeCompletion.cpp701 const llvm::TimeRecord &StartTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
778 const llvm::TimeRecord &EndTime = llvm::TimeRecord::getCurrentTime(); in clang_codeCompleteAt_Impl()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchFinder.cpp668 void setBucket(llvm::TimeRecord *NewBucket) { in setBucket()
670 auto Now = llvm::TimeRecord::getCurrentTime(true); in setBucket()
680 llvm::TimeRecord *Bucket;
956 llvm::StringMap<llvm::TimeRecord> TimeByBucket;
/external/clang/unittests/ASTMatchers/
DASTMatchersInternalTest.cpp105 llvm::StringMap<llvm::TimeRecord> Records; in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersInternalTest.cpp97 llvm::StringMap<llvm::TimeRecord> Records; in TEST()
/external/swiftshader/third_party/subzero/src/
DIceTimerTree.cpp313 return llvm::TimeRecord::getCurrentTime(false).getWallTime(); in timestamp()
/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/llvm-project/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/llvm-project/clang/lib/Frontend/
DASTUnit.cpp108 using llvm::TimeRecord;
114 TimeRecord Start;
120 Start = TimeRecord::getCurrentTime(); in SimpleTimer()
125 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()
/external/clang/lib/Frontend/
DASTUnit.cpp53 using llvm::TimeRecord;
58 TimeRecord Start;
64 Start = TimeRecord::getCurrentTime(); in SimpleTimer()
74 TimeRecord Elapsed = TimeRecord::getCurrentTime(); in ~SimpleTimer()

12