Searched refs:time_deta (Results 1 – 1 of 1) sorted by relevance
68 struct timeval time_deta; in psb_doframerate() local78 gettimeofday(&time_deta, (struct timezone *)NULL); in psb_doframerate()80 time_deta.tv_usec = inter_period.tv_usec - time_deta.tv_usec; in psb_doframerate()81 time_deta.tv_sec = inter_period.tv_sec - time_deta.tv_sec; in psb_doframerate()83 if (time_deta.tv_usec < 0) { in psb_doframerate()84 time_deta.tv_usec += 1000000; in psb_doframerate()85 time_deta.tv_sec--; in psb_doframerate()88 if (time_deta.tv_sec < 0 || (time_deta.tv_sec == 0 && time_deta.tv_usec <= 0)) in psb_doframerate()91 select(0, NULL, NULL, NULL, &time_deta); in psb_doframerate()