Lines Matching refs:TimeValue
20 #include "llvm/Support/TimeValue.h"
63 static std::pair<TimeValue, TimeValue> getRUsageTimes() {
68 TimeValue(
69 static_cast<TimeValue::SecondsType>(RU.ru_utime.tv_sec),
70 static_cast<TimeValue::NanoSecondsType>(
71 RU.ru_utime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)),
72 TimeValue(
73 static_cast<TimeValue::SecondsType>(RU.ru_stime.tv_sec),
74 static_cast<TimeValue::NanoSecondsType>(
75 RU.ru_stime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)));
78 return std::make_pair(TimeValue(), TimeValue());
124 void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
125 TimeValue &sys_time) {
126 elapsed = TimeValue::now();
450 TimeValue Now = TimeValue::now();