Searched refs:tp (Results 1 – 9 of 9) sorted by relevance
34 struct timespec tp; in get_current_time() local35 int err = clock_gettime(CLOCK_MONOTONIC, &tp); in get_current_time()36 if (err || tp.tv_sec < 0) in get_current_time()38 return static_cast<uint32_t>(tp.tv_sec); in get_current_time()
55 struct timespec tp; in get_current_time_ms() local56 int err = clock_gettime(CLOCK_BOOTTIME, &tp); in get_current_time_ms()57 if (err || tp.tv_sec < 0) return 0; in get_current_time_ms()59 return static_cast<uint64_t>(tp.tv_sec) * 1000 + static_cast<uint64_t>(tp.tv_nsec) / 1000000; in get_current_time_ms()
73 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePath() local74 const ProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePath()88 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePathForTask() local89 const ProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePathForTask()116 const TaskProfiles& tp = TaskProfiles::GetInstance(); in SetProcessProfiles() local119 TaskProfile* profile = tp.GetProfile(name); in SetProcessProfiles()136 const TaskProfiles& tp = TaskProfiles::GetInstance(); in SetTaskProfiles() local139 TaskProfile* profile = tp.GetProfile(name); in SetTaskProfiles()
154 const time_point<system_clock>& tp) in update_perf_history() argument158 if (tp > day_start_tp && in update_perf_history()159 duration_cast<chrono::seconds>(tp - day_start_tp).count() < DAY_TO_SEC) { in update_perf_history()178 day_start_tp = tp - chrono::seconds(duration_cast<chrono::seconds>( in update_perf_history()179 tp.time_since_epoch()).count() % DAY_TO_SEC); in update_perf_history()
129 for tp in types.find_all('typedef'):131 for lang in tp.find_all('language'):134 self.metadata.insert_type(tp['name'], 'typedef', languages=languages)
286 type_names = [tp.name for tp in self.types if tp.name == tp]
80 const time_point<system_clock>& tp);
362 time_point<steady_clock> tp; in TEST() local386 tp += hours(5); in TEST()388 stp += duration_cast<chrono::seconds>(tp.time_since_epoch()); in TEST()
1008 for (auto tp = taskDirectory.read(dir::task, dp); tp != nullptr; in llkCheck() local1009 tp = taskDirectory.read(dir::task)) { in llkCheck()1010 if (!getValidTidDir(tp, &piddir)) { in llkCheck()