Searched refs:tp (Results 1 – 3 of 3) sorted by relevance
75 uint64_t timespec_to_ms(const struct timespec& tp) { in timespec_to_ms() argument76 if (tp.tv_sec < 0) { in timespec_to_ms()79 return static_cast<uint64_t>(tp.tv_sec) * 1000 + in timespec_to_ms()80 static_cast<uint64_t>(tp.tv_nsec) / 1000000; in timespec_to_ms()84 struct timespec tp; in get_wall_clock_time_ms() local85 int err = clock_gettime(CLOCK_REALTIME, &tp); in get_wall_clock_time_ms()89 return timespec_to_ms(tp); in get_wall_clock_time_ms()123 struct timespec tp; in get_current_time_ms()125 int err = clock_gettime(CLOCK_BOOTTIME, &tp); in get_current_time_ms()127 int err = clock_gettime(CLOCK_MONOTONIC, &tp); in get_current_time_ms()[all …]
150 *.tp
531 ### Requires us tp really clean up how draws work in the encoder currently.