Home
last modified time | relevance | path

Searched refs:first_ts (Results 1 – 4 of 4) 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()
60 if (pp->first_ts != -1.0) { in plat_free()
61 double delta = pp->last_ts - pp->first_ts; in plat_free()
64 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_free()
77 if (pp->first_ts == -1.0) { in plat_x2c()
78 pp->first_ts = pp->last_ts = now; in plat_x2c()
81 } else if ((now - pp->first_ts) >= plat_freq) { in plat_x2c()
82 double delta = pp->last_ts - pp->first_ts; in plat_x2c()
85 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_x2c()
[all …]
/external/u-boot/scripts/kconfig/
Dzconf.l36 static int last_ts, first_ts; variable
/external/bcc/tools/
Dtrace.py29 first_ts = 0 variable in Probe
47 cls.first_ts = BPF.monotonic_time()
511 return "%.6f" % (1e-9 * (timestamp_ns - cls.first_ts))
/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;