Home
last modified time | relevance | path

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

/device/samsung/manta/liblights/
Dlights.c156 static void time_add(struct timespec *time, int sec, int nsec) in time_add() argument
158 time->tv_nsec += nsec; in time_add()
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c503 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec; in visualizer_get_delta_time_ms_from_updated_time() local
504 if (nsec < 0) { in visualizer_get_delta_time_ms_from_updated_time()
506 nsec += 1000000000; in visualizer_get_delta_time_ms_from_updated_time()
508 delta_ms = secs * 1000 + nsec / 1000000; in visualizer_get_delta_time_ms_from_updated_time()