Lines Matching refs:tprev
2220 * tprev = time of previous sched out event
2228 * last ready migrated tprev t
2236 * dt_wait = time between last schedule out event for task and tprev
2243 u64 t, u64 tprev)
2252 if (tprev) {
2253 r->dt_run = t - tprev;
2255 if (r->ready_to_run > tprev)
2258 r->dt_delay = tprev - r->ready_to_run;
2260 if ((r->migrated > r->ready_to_run) && (r->migrated < tprev))
2264 if (r->last_time > tprev)
2267 u64 dt_wait = tprev - r->last_time;
2745 u64 tprev, t = sample->time;
2775 tprev = evsel__get_time(evsel, sample->cpu);
2780 * - tprev is under window user cares about - reset to start of window
2785 if (tprev && ptime->start > tprev)
2786 tprev = ptime->start;
2793 * - If tprev is 0, that is, sched_in event for current task is
2798 if (!tprev || tprev > ptime->end)
2807 timehist_update_runtime_stats(tr, t, tprev);
2821 timehist_update_runtime_stats(last_tr, t, tprev);
2834 callchain_append(&itr->callchain, &itr->cursor, t - tprev);