Searched refs:target_ns (Results 1 – 3 of 3) sorted by relevance
34 void set_timestamp(struct timespec *out, int64_t target_ns) in set_timestamp() argument36 out->tv_sec = target_ns / 1000000000LL; in set_timestamp()37 out->tv_nsec = target_ns % 1000000000LL; in set_timestamp()
33 void set_timestamp(struct timespec *out, int64_t target_ns);
150 void set_timestamp(struct timespec *out, int64_t target_ns) in set_timestamp() argument152 out->tv_sec = target_ns / ONE_S_IN_NS; in set_timestamp()153 out->tv_nsec = target_ns % ONE_S_IN_NS; in set_timestamp()