Searched refs:first_ts (Results 1 – 5 of 5) 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 …]
754 my $first_ts;764 $first_ts = $db{$key}->{'queue'} if not defined $first_ts or $db{$key}->{'queue'} < $first_ts;899 $flat_busy{'gpu-busy'} = $total / ($last_ts - $first_ts) * 100.0;900 $flat_busy{'gpu-idle'} = (1.0 - $total / ($last_ts - $first_ts)) * 100.0;1095 my $elapsed = $last_ts - $first_ts;1154 my $elapsed = $last_ts - $first_ts;1359 $start = $first_ts if $start < $first_ts;1373 $start = $first_ts if $start < $first_ts;1418 my $end_ts = $first_ts + $width_us;1419 $first_ts = $first_ts;[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;