Lines Matching defs:then
103 ms_delta(lws_usec_t now, lws_usec_t then)
105 return (int)((now - then) / 1000);
109 us_accrue(lws_usec_t *acc, lws_usec_t then)
113 *acc += now - then;
117 pc_delta(lws_usec_t now, lws_usec_t then, lws_usec_t us)
119 lws_usec_t delta = (now - then) + 1;
581 lws_usec_t then;
589 then = lws_now_usecs();
592 us_accrue(&task->acc_running, then);
608 then = lws_now_usecs();
613 us_accrue(&task->acc_syncing, then);
988 * first, then any free thread may pick it up after the wake_idle