Searched refs:msec (Results 1 – 4 of 4) sorted by relevance
115 int loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument123 if(cb_func == NULL || msec == 0) { in loc_timer_start()138 t->time_msec = msec; in loc_timer_start()
115 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument122 if(cb_func == NULL || msec == 0) { in loc_timer_start()144 t->time_msec = msec; in loc_timer_start()
89 static void setTimespecRelative(struct timespec *p_ts, long long msec) in setTimespecRelative() argument98 p_ts->tv_sec = tv.tv_sec + (msec / 1000); in setTimespecRelative()99 p_ts->tv_nsec = (tv.tv_usec + (msec % 1000) * 1000L ) * 1000L; in setTimespecRelative()103 static void sleepMsec(long long msec) in sleepMsec() argument108 ts.tv_sec = (msec / 1000); in sleepMsec()109 ts.tv_nsec = (msec % 1000) * 1000 * 1000; in sleepMsec()
402 static void vx_sleep(int msec) { in vx_sleep() argument405 if (msec) { in vx_sleep()408 if (msec < msec_per_tick) in vx_sleep()411 ticks_to_sleep = msec / msec_per_tick; in vx_sleep()