Searched refs:first_ts (Results 1 – 4 of 4) sorted by relevance
27 double first_ts, last_ts, tl; member39 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 …]
36 static int last_ts, first_ts; variable
29 first_ts = 0 variable in Probe47 cls.first_ts = BPF.monotonic_time()511 return "%.6f" % (1e-9 * (timestamp_ns - cls.first_ts))
783 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;