Home
last modified time | relevance | path

Searched refs:last_time (Results 1 – 7 of 7) sorted by relevance

/tools/laptop/dslm/
Ddslm.c70 time_t last_time; in measure() local
84 start_time = last_time = time(0); in measure()
94 time_diff = curr_time - last_time; in measure()
101 last_time = curr_time; in measure()
/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c77 __u32 last_time; /* time when updated last_cwnd */ member
99 ca->last_time = 0; in bictcp_reset()
281 (__s32)(tcp_jiffies32 - ca->last_time) <= HZ / 32) in bictcp_update()
288 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
292 ca->last_time = tcp_jiffies32; in bictcp_update()
/tools/perf/util/
Dsvghelper.c26 static u64 first_time, last_time; variable
62 X = 1.0 * svg_page_width * (__time - first_time) / (last_time - first_time); in time2pixels()
96 last_time = end; in open_svg()
102 new_width = (last_time - first_time) / 5000000; in open_svg()
369 time2pixels(last_time)-time2pixels(first_time), in svg_cpu_box()
659 while (i < last_time) { in svg_time_grid()
Dthread-stack.c97 u64 last_time; member
353 ts->last_time, 0, true); in __thread_stack__flush()
1147 ts->last_time = sample->time; in thread_stack__process()
/tools/perf/
Dbuiltin-timechart.c61 first_time, last_time; member
563 if (tchart->last_time < sample->time) in process_sample_event()
564 tchart->last_time = sample->time; in process_sample_event()
690 pwr->end_time = tchart->last_time; in end_sample_processing()
705 pwr->end_time = tchart->last_time; in end_sample_processing()
1349 p->end_time = tchart->last_time; in determine_display_tasks_filtered()
1366 c->end_time = tchart->last_time; in determine_display_tasks_filtered()
1389 p->end_time = tchart->last_time; in determine_display_tasks()
1407 c->end_time = tchart->last_time; in determine_display_tasks()
1426 p->end_time = timechart->last_time; in determine_display_io_tasks()
[all …]
Dbuiltin-sched.c252 u64 last_time; /* time of previous sched in/out event */ member
277 u64 *last_time; /* time this event was last seen per cpu */ member
1876 if ((cpu >= r->ncpu) || (r->last_time == NULL)) { in evsel__save_time()
1878 void *p = r->last_time; in evsel__save_time()
1880 p = realloc(r->last_time, n * sizeof(u64)); in evsel__save_time()
1884 r->last_time = p; in evsel__save_time()
1886 r->last_time[i] = (u64) 0; in evsel__save_time()
1891 r->last_time[cpu] = timestamp; in evsel__save_time()
1899 if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) in evsel__get_time()
1902 return r->last_time[cpu]; in evsel__get_time()
[all …]
/tools/perf/scripts/python/
Dexported-sql-viewer.py1319 last_time = None
1333 self.SelectComms(db, last_thread_id, last_comm_id, last_time, query.value(0))
1345 last_time = time
3439 self.last_time = 2 ** 64
3446 self.last_time = int(glb.HostFinishTime())
3448 placeholder_text += ", between " + str(self.first_time) + " and " + str(self.last_time)
3506 val += self.last_time
3513 vrange[1] = str(self.last_time)
3519 end_range = min(int(vrange[1]), self.last_time)
3520 if beg_range > self.last_time or end_range < self.first_time: