Searched refs:target_ns (Results 1 - 3 of 3) sorted by relevance

/hardware/bsp/intel/peripheral/sensors/mraa/
H A DUtils.cpp34 void set_timestamp(struct timespec *out, int64_t target_ns) argument
36 out->tv_sec = target_ns / 1000000000LL;
37 out->tv_nsec = target_ns % 1000000000LL;
H A DUtils.hpp31 * @param target_ns timestamp in nanoseconds
33 void set_timestamp(struct timespec *out, int64_t target_ns);
/hardware/bsp/intel/peripheral/light/mraa/
H A Dlights.c148 * @param target_ns timestamp in nanoseconds
150 void set_timestamp(struct timespec *out, int64_t target_ns) argument
152 out->tv_sec = target_ns / ONE_S_IN_NS;
153 out->tv_nsec = target_ns % ONE_S_IN_NS;

Completed in 53 milliseconds