Searched refs:tp (Results 1 – 6 of 6) sorted by relevance
35 struct timeval tp; \36 gettimeofday(&tp, nullptr); \38 if (localtime_r(&tp.tv_sec, &curTime) != nullptr) { \
76 auto tp = itp.value(); in ParseFromFile4FuzzTest() local77 param += tp; in ParseFromFile4FuzzTest()
30 …ent(const std::string& eventName, HiSysEventAdapter::EventType type, const std::tuple<Args...>& tp) in ForwardToHiSysEvent() argument36 tp); in ForwardToHiSysEvent()
262 auto tp = std::chrono::time_point_cast<std::chrono::milliseconds>(time); in DumpTimeToString() local264 auto ms = tp.time_since_epoch().count() % MS_PER_SECOND; in DumpTimeToString()278 auto tp = std::chrono::system_clock::now() + in DumpTimeToString() local280 return DumpTimeToString(tp); in DumpTimeToString()
110 …inline bool IsTimeOut(const std::chrono::system_clock::time_point &tp, const size_t timeout = CALL… in IsTimeOut() argument113 auto duration = std::chrono::duration_cast<std::chrono::seconds>(now - tp).count(); in IsTimeOut()
136 …auto tp = std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds>(millisecon… in ResetSeconds() local137 auto tp_minutes = std::chrono::time_point_cast<std::chrono::minutes>(tp); in ResetSeconds()