Lines Matching refs:last_time
254 u64 last_time; /* time of previous sched in/out event */ member
279 u64 *last_time; /* time this event was last seen per cpu */ member
1923 if ((cpu >= r->ncpu) || (r->last_time == NULL)) { in evsel__save_time()
1925 void *p = r->last_time; in evsel__save_time()
1927 p = realloc(r->last_time, n * sizeof(u64)); in evsel__save_time()
1931 r->last_time = p; in evsel__save_time()
1933 r->last_time[i] = (u64) 0; in evsel__save_time()
1938 r->last_time[cpu] = timestamp; in evsel__save_time()
1946 if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) in evsel__get_time()
1949 return r->last_time[cpu]; in evsel__get_time()
2161 if (r->last_time > tprev) in timehist_update_runtime_stats()
2163 else if (r->last_time) { in timehist_update_runtime_stats()
2164 u64 dt_wait = tprev - r->last_time; in timehist_update_runtime_stats()
2693 tr->last_time = sample->time; in timehist_sched_change_event()