diff --git a/selfdrive/modeld/thneed/thneed.cc b/selfdrive/modeld/thneed/thneed.cc index 481a077501..e11fcb8a96 100644 --- a/selfdrive/modeld/thneed/thneed.cc +++ b/selfdrive/modeld/thneed/thneed.cc @@ -5,6 +5,7 @@ #include #include #include +#include "common/timing.h" #include "common/clutil.h" #include "thneed.h" @@ -17,12 +18,6 @@ map, string> g_args; map, int> g_args_size; map g_program_source; -static inline uint64_t nanos_since_boot() { - struct timespec t; - clock_gettime(CLOCK_BOOTTIME, &t); - return t.tv_sec * 1000000000ULL + t.tv_nsec; -} - void hexdump(uint32_t *d, int len) { assert((len%4) == 0); printf(" dumping %p len 0x%x\n", d, len);