Searched refs:nsec (Results 1 – 2 of 2) sorted by relevance
156 static void time_add(struct timespec *time, int sec, int nsec) in time_add() argument158 time->tv_nsec += nsec; in time_add()
503 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec; in visualizer_get_delta_time_ms_from_updated_time() local504 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()