Lines Matching refs:first_ts
27 double first_ts, last_ts, tl;
39 pp->first_ts = pp->last_ts = pp->tl = -1.0;
58 if (pp->first_ts != -1.0) {
59 double delta = pp->last_ts - pp->first_ts;
62 pp->first_ts + (delta / 2), pp->tl / pp->nl);
75 if (pp->first_ts == -1.0) {
76 pp->first_ts = pp->last_ts = now;
79 } else if ((now - pp->first_ts) >= plat_freq) {
80 double delta = pp->last_ts - pp->first_ts;
83 pp->first_ts + (delta / 2), pp->tl / pp->nl);
85 pp->first_ts = pp->last_ts = now;