Searched refs:prev_time (Results 1 – 4 of 4) sorted by relevance
121 struct timespec cur_time, prev_time; member396 etime = ctx->cur_time.tv_sec - ctx->prev_time.tv_sec + in ctlstat_standard()397 (ctx->prev_time.tv_nsec - ctx->cur_time.tv_nsec) * 1e-9; in ctlstat_standard()699 ctx.prev_time = ctx.cur_time; in main()
174 struct bintime *prev_time);
1210 devstat_compute_etime(struct bintime *cur_time, struct bintime *prev_time) in devstat_compute_etime() argument1216 if (prev_time != NULL) { in devstat_compute_etime()1217 etime -= prev_time->sec; in devstat_compute_etime()1218 etime -= prev_time->frac * BINTIME_SCALE; in devstat_compute_etime()
121 u_long prev_time; /* "current_time" when saved prev_time */ variable2904 p2_time = prev_time; in clock_update()2907 prev_time = current_time + 64 + (rand() & 0x3f); /* 64-127 s */ in clock_update()4639 } else if (current_time < prev_time) { in fast_xmit()