Home
last modified time | relevance | path

Searched refs:counter_start (Results 1 – 1 of 1) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dmain.c176 static __int64 counter_start; variable
178 static inv_time_t counter_start; variable
260 double get_counter(__int64 *counter_start, double *pc_freq) in get_counter() argument
265 x = (double) (li.QuadPart - (*counter_start)); in get_counter()
270 void start_counter(double *pc_freq, __int64 *counter_start) in start_counter() argument
279 *counter_start = li.QuadPart; in start_counter()
286 return (inv_get_tick_count() - counter_start); in get_counter()
291 counter_start = inv_get_tick_count(); in start_counter()
316 start_counter(&pc_freq, &counter_start); in fifo_callback()
319 time_ms = get_counter(&counter_start, &pc_freq); in fifo_callback()