Home
last modified time | relevance | path

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

/tools/testing/selftests/timers/
Dalarmtimer-suspend.c54 struct timespec start_time; variable
105 delta_ns = timespec_sub(start_time, ts); in sigalarm()
150 clock_gettime(alarm_clock_id, &start_time); in main()
152 start_time.tv_sec, start_time.tv_nsec); in main()
154 its1.it_value = start_time; in main()
Dset-timer-lat.c54 struct timespec start_time; variable
105 delta_ns = timespec_sub(start_time, ts); in sigalarm()
153 clock_gettime(clock_id, &start_time); in setup_timer()
155 its1.it_value = start_time; in setup_timer()
/tools/perf/
Dbuiltin-timechart.c95 u64 start_time; member
109 u64 start_time; member
142 u64 start_time; member
161 u64 start_time; member
177 u64 start_time; member
251 p->start_time = timestamp; in pid_fork()
252 if (p->current && !p->current->start_time) { in pid_fork()
253 p->current->start_time = timestamp; in pid_fork()
287 sample->start_time = start; in pid_put_sample()
300 if (c->start_time == 0 || c->start_time > start) in pid_put_sample()
[all …]
Dbuiltin-kvm.c144 u64 start_time; member
258 vcpu_record->start_time = timestamp; in handle_begin_event()
358 time_begin = vcpu_record->start_time; in handle_end_event()
380 vcpu_record->start_time = 0; in handle_end_event()
Dbuiltin-sched.c216 u64 start_time; member
700 sched->start_time = get_nsecs(); in wait_for_tasks()
/tools/laptop/dslm/
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/
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/power/cpupower/utils/idle_monitor/
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()
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/testing/ktest/
Dktest.pl1653 my $start_time = time;
1699 if ($now - $start_time >= $max_monitor_wait) {
1794 my $start_time;
1814 $start_time = time;
1842 if ($timeout >= 0 && (($now - $start_time) >= $timeout)) {
1867 my $delta = $end_time - $start_time;
2003 my $start_time;
2024 $start_time = time;
2039 last if (defined($time) && (time - $start_time > $time));
2103 my $start_time = time;
[all …]
Dconfig-bisect.pl161 my $start_time;
166 $start_time = time;
190 my $delta = $end_time - $start_time;
/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py66 global sample_num, last_sec_cpu, last_usec_cpu, start_time, testname
428 global sample_num, last_sec_cpu, last_usec_cpu, start_time
465 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
476 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
/tools/testing/selftests/filesystems/incfs/
Dincfs_perf.c289 struct timespec start_time, end_time; in measure_read_throughput_internal() local
326 err = clock_gettime(CLOCK_MONOTONIC, &start_time); in measure_read_throughput_internal()
352 time += end_time.tv_sec - start_time.tv_sec; in measure_read_throughput_internal()
353 time += (end_time.tv_nsec - start_time.tv_nsec) / 1e9; in measure_read_throughput_internal()
/tools/testing/selftests/bpf/progs/
Dprofiler.h68 uint64_t start_time; member
Dprofiler.inc.h201 BPF_CORE_READ(parent, start_time); in populate_ancestors()
344 metadata->start_time = BPF_CORE_READ(task, start_time); in populate_var_metadata()
718 proc_exec_data->parent_start_time = BPF_CORE_READ(parent_task, start_time); in raw_tracepoint__sched_process_exec()
966 fork_data->parent_start_time = BPF_CORE_READ(parent, start_time); in raw_tracepoint__sched_process_fork()
/tools/testing/selftests/net/forwarding/
Dlib.sh257 local start_time="$(date -u +%s%3N)"
269 if ((current_time - start_time > timeout)); then
/tools/perf/scripts/python/
Dexported-sql-viewer.py1301 def SelectComms(self, db, thread_id, last_comm_id, start_time, end_time): argument
1307 " AND c_time >= " + str(start_time) +
1337 start_time = self.collection.glb.StartTime(self.collection.machine_id)
1338 hregion = self.HRegion(db, query.value(1), query.value(3), start_time)
1339 self.AddPoint(start_time, 1000, None, None, hregion)
2199 self.start_time = self.glb.StartTime(collection.machine_id)
2309 rel_time_from = time_from - self.start_time
2310 rel_time_to = time_to - self.start_time
2343 rel_time_from = time_from - self.start_time
2344 rel_time_to = time_to - self.start_time