Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 25 of 37) sorted by relevance

12

/tools/perf/tests/shell/lib/
A Dwaiting.sh11 start_time=$($tenths)
18 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then
33 start_time=$($tenths)
40 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then
53 start_time=$($tenths)
56 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then
69 start_time=$($tenths)
72 if [ $(($($tenths) - start_time)) -gt $tm_out ] ; then
/tools/testing/selftests/mm/
A Dksm_tests.c217 struct timespec start_time, int timeout) in ksm_merge_pages() argument
235 if (ksm_do_scan(2, start_time, timeout)) in ksm_merge_pages()
324 struct timespec start_time; in check_ksm_merge() local
357 struct timespec start_time; in check_ksm_unmerge() local
378 if (ksm_do_scan(1, start_time, timeout)) in check_ksm_unmerge()
398 struct timespec start_time; in check_ksm_zero_page_merge() local
463 struct timespec start_time; in check_ksm_numa_merge() local
527 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local
599 struct timespec start_time, end_time; in ksm_merge_time() local
640 struct timespec start_time, end_time; in ksm_unmerge_time() local
[all …]
A Dhugetlb_reparenting_test.sh69 local start_time
74 start_time=$(date +%s)
85 elapsed=$((now - start_time))
/tools/testing/selftests/timers/
A Dalarmtimer-suspend.c40 struct timespec start_time; variable
91 delta_ns = timespec_sub(start_time, ts); in sigalarm()
136 clock_gettime(alarm_clock_id, &start_time); in main()
138 start_time.tv_sec, start_time.tv_nsec); in main()
140 its1.it_value = start_time; in main()
A Dset-timer-lat.c42 struct timespec start_time; variable
93 delta_ns = timespec_sub(start_time, ts); in sigalarm()
141 clock_gettime(clock_id, &start_time); in setup_timer()
143 its1.it_value = start_time; in setup_timer()
/tools/perf/
A Dbuiltin-timechart.c98 u64 start_time; member
112 u64 start_time; member
145 u64 start_time; member
164 u64 start_time; member
180 u64 start_time; member
310 if (c->start_time == 0 || c->start_time > start) in pid_put_sample()
311 c->start_time = start; in pid_put_sample()
312 if (p->start_time == 0 || p->start_time > start) in pid_put_sample()
394 if (!pwr->start_time) in p_state_end()
766 if (c->start_time == 0 || c->start_time > start) in pid_begin_io_sample()
[all …]
/tools/testing/selftests/bpf/progs/
A Dbpf_hashmap_lookup.c55 u64 start_time; in benchmark() local
58 start_time = bpf_ktime_get_ns(); in benchmark()
60 percpu_times[cpu & CPU_MASK][times_index] = bpf_ktime_get_ns() - start_time; in benchmark()
A Dbpf_hashmap_full_update_bench.c35 u64 start_time = bpf_ktime_get_ns(); in benchmark() local
38 percpu_time[cpu & 255] = bpf_ktime_get_ns() - start_time; in benchmark()
A Dtimer.c355 __u64 start_time; in test_pinned_timer() local
359 start_time = 0; in test_pinned_timer()
362 start_time = bpf_ktime_get_boot_ns(); in test_pinned_timer()
372 bpf_timer_start(timer, start_time + 1000, flags); in test_pinned_timer()
A Dprofiler.h68 uint64_t start_time; member
A Dprofiler.inc.h199 BPF_CORE_READ(parent, start_time); in populate_ancestors()
340 metadata->start_time = BPF_CORE_READ(task, start_time); in populate_var_metadata()
712 proc_exec_data->parent_start_time = BPF_CORE_READ(parent_task, start_time); in raw_tracepoint__sched_process_exec()
950 fork_data->parent_start_time = BPF_CORE_READ(parent, start_time); in raw_tracepoint__sched_process_fork()
/tools/perf/util/
A Dtool_pmu.c232 evsel->start_time = rdclock(); in evsel__tool_pmu_open()
250 __u64 *start_time = NULL; in evsel__tool_pmu_open() local
272 start_time = xyarray__entry(evsel->start_times, idx, thread); in evsel__tool_pmu_open()
275 start_time); in evsel__tool_pmu_open()
281 start_time); in evsel__tool_pmu_open()
439 __u64 *start_time, cur_time, delta_start; in evsel__tool_pmu_read() local
483 start_time = &evsel->start_time; in evsel__tool_pmu_read()
487 cur_time = *start_time; in evsel__tool_pmu_read()
493 start_time = xyarray__entry(evsel->start_times, cpu_map_idx, thread); in evsel__tool_pmu_read()
524 delta_start = cur_time - *start_time; in evsel__tool_pmu_read()
/tools/laptop/dslm/
A Ddslm.c68 time_t start_time; in measure() local
84 start_time = last_time = time(0); in measure()
109 total_time = time(0) - start_time; in measure()
110 printf("\nTotal running time: %lus\n", curr_time - start_time); in measure()
/tools/testing/selftests/bpf/prog_tests/
A Dtest_overhead.c22 __u64 start_time; in test_task_rename() local
27 start_time = time_get_ns(); in test_task_rename()
37 MAX_CNT * 1000000ll / (time_get_ns() - start_time)); in test_task_rename()
/tools/perf/scripts/python/
A Dgecko.py46 start_time = None variable
263 global start_time
271 if not start_time:
272 start_time = time_stamp
324 "startTime": start_time,
A Darm-cs-trace-disasm.py74 if (options.start_time and options.stop_time and
75 options.start_time >= options.stop_time):
265 if (options.start_time and sample["time"] < options.start_time):
/tools/testing/selftests/kvm/x86/
A Dxapic_ipi_test.c257 time_t start_time, last_update, now; in do_migrations() local
296 start_time = time(NULL); in do_migrations()
297 last_update = start_time; in do_migrations()
303 while ((int)(time(NULL) - start_time) < run_secs) { in do_migrations()
333 if (((now - start_time) % interval_secs == 0) && in do_migrations()
339 now - start_time, data->migrations_attempted, in do_migrations()
/tools/power/cpupower/utils/idle_monitor/
A Dcpuidle_sysfs.c22 static struct timespec start_time; variable
47 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start()
65 timediff = timespec_diff_us(start_time, end_time); in cpuidle_stop()
A Damd_fam14h_idle.c85 static struct timespec start_time; variable
231 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start()
238 dbg_timediff = timespec_diff_us(start_time, dbg_time); in amd_fam14h_start()
261 timediff = timespec_diff_us(start_time, end_time); in amd_fam14h_stop()
/tools/power/x86/amd_pstate_tracer/
A Damd_pstate_trace.py56 global sample_num, last_sec_cpu, last_usec_cpu, start_time, test_name, trace_file
189 global sample_num, last_sec_cpu, last_usec_cpu, start_time
220 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
231 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
/tools/testing/ktest/
A Dktest.pl1753 my $start_time = time;
1894 my $start_time;
1914 $start_time = time;
1967 my $delta = $end_time - $start_time;
2102 my $start_time;
2123 $start_time = time;
2202 my $start_time = time;
2378 my $start_time = time;
2412 $install_time = $end_time - $start_time;
2658 my $start_time = time;
[all …]
A Dconfig-bisect.pl161 my $start_time;
166 $start_time = time;
190 my $delta = $end_time - $start_time;
/tools/tracing/rtla/src/
A Dutils.h24 void get_duration(time_t start_time, char *output, int output_size);
A Dosnoise.h150 time_t start_time; member
/tools/power/x86/intel_pstate_tracer/
A Dintel_pstate_tracer.py66 global sample_num, last_sec_cpu, last_usec_cpu, start_time, testname, trace_file
424 global sample_num, last_sec_cpu, last_usec_cpu, start_time
461 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
472 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time

Completed in 45 milliseconds

12