Home
last modified time | relevance | path

Searched refs:first_ts (Results 1 – 1 of 1) 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 …]