Lines Matching full:now
63 static void update_tot_qusz(struct d_info *dip, double now)
65 dip->stats.tot_qusz += ((now - dip->stats.last_qu_change) *
67 dip->all_stats.tot_qusz += ((now - dip->all_stats.last_qu_change) *
70 dip->stats.last_qu_change = dip->all_stats.last_qu_change = now;
73 static void update_idle_time(struct d_info *dip, double now, int force)
76 dip->stats.idle_time += (now - dip->stats.last_dev_change);
78 (now - dip->all_stats.last_dev_change);
80 dip->stats.last_dev_change = dip->all_stats.last_dev_change = now;
88 double now = TO_SEC(stamp);
100 update_idle_time(dip, now, 1);
101 update_tot_qusz(dip, now);
257 double now = TO_SEC(iop->t.time);
262 update_idle_time(dip, now, 0);
268 double now = TO_SEC(c_iop->t.time);
276 update_tot_qusz(dip, now);
279 update_idle_time(dip, now, 0);