| /tools/perf/tests/shell/lib/ |
| A D | waiting.sh | 11 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 D | ksm_tests.c | 217 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 D | hugetlb_reparenting_test.sh | 69 local start_time 74 start_time=$(date +%s) 85 elapsed=$((now - start_time))
|
| /tools/testing/selftests/timers/ |
| A D | alarmtimer-suspend.c | 40 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 D | set-timer-lat.c | 42 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 D | builtin-timechart.c | 98 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 D | bpf_hashmap_lookup.c | 55 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 D | bpf_hashmap_full_update_bench.c | 35 u64 start_time = bpf_ktime_get_ns(); in benchmark() local 38 percpu_time[cpu & 255] = bpf_ktime_get_ns() - start_time; in benchmark()
|
| A D | timer.c | 355 __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 D | profiler.h | 68 uint64_t start_time; member
|
| A D | profiler.inc.h | 199 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 D | tool_pmu.c | 232 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 D | dslm.c | 68 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 D | test_overhead.c | 22 __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 D | gecko.py | 46 start_time = None variable 263 global start_time 271 if not start_time: 272 start_time = time_stamp 324 "startTime": start_time,
|
| A D | arm-cs-trace-disasm.py | 74 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 D | xapic_ipi_test.c | 257 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 D | cpuidle_sysfs.c | 22 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 D | amd_fam14h_idle.c | 85 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 D | amd_pstate_trace.py | 56 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 D | ktest.pl | 1753 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 D | config-bisect.pl | 161 my $start_time; 166 $start_time = time; 190 my $delta = $end_time - $start_time;
|
| /tools/tracing/rtla/src/ |
| A D | utils.h | 24 void get_duration(time_t start_time, char *output, int output_size);
|
| A D | osnoise.h | 150 time_t start_time; member
|
| /tools/power/x86/intel_pstate_tracer/ |
| A D | intel_pstate_tracer.py | 66 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
|