Home
last modified time | relevance | path

Searched refs:first_ts (Results 1 – 2 of 2) sorted by relevance

/external/blktrace/btt/
Dplat.c27 double first_ts, last_ts, tl; member
39 pp->first_ts = pp->last_ts = pp->tl = -1.0; in plat_alloc()
58 if (pp->first_ts != -1.0) { in plat_free()
59 double delta = pp->last_ts - pp->first_ts; in plat_free()
62 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_free()
75 if (pp->first_ts == -1.0) { in plat_x2c()
76 pp->first_ts = pp->last_ts = now; in plat_x2c()
79 } else if ((now - pp->first_ts) >= plat_freq) { in plat_x2c()
80 double delta = pp->last_ts - pp->first_ts; in plat_x2c()
83 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_x2c()
[all …]
/external/toybox/kconfig/
Dlex.zconf.c_shipped783 static int last_ts, first_ts;
1222 if (first_ts) {
1223 if (ts < first_ts) {
1227 ts -= first_ts;
1260 if (!first_ts)
1261 first_ts = last_ts;
2243 last_ts = first_ts = 0;