Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 52) sorted by relevance

123

/tools/perf/scripts/python/
Dnetdev-times.py302 (name, context, cpu, time, pid, comm, irq, irq_name) = event_info
305 irq_record = {'irq':irq, 'name':irq_name, 'cpu':cpu, 'irq_ent_t':time}
309 (name, context, cpu, time, pid, comm, irq, ret) = event_info
315 irq_record.update({'irq_ext_t':time})
321 (name, context, cpu, time, pid, comm, vec) = event_info
330 irq_event_list.append({'time':time, 'event':'sirq_raise'})
335 (name, context, cpu, time, pid, comm, vec) = event_info
336 net_rx_dic[cpu] = {'sirq_ent_t':time, 'event_list':[]}
339 (name, context, cpu, time, pid, comm, vec) = event_info
351 rec_data = {'sirq_ent_t':sirq_ent_t, 'sirq_ext_t':time,
[all …]
Dsctop.py11 import os, sys, thread, time
80 time.sleep(interval)
/tools/power/cpupower/bench/
DREADME-BENCH9 - Identify average reaction time of a governor to CPU load changes
13 - Possibly Real time priority testing? -> what happens if there are
35 will be run X time in a row (cycles):
48 Will increase load and sleep time by 25ms 5 times.
50 25ms load/sleep time repeated 20 times (cycles).
51 50ms load/sleep time repeated 20 times (cycles).
53 100ms load/sleep time repeated 20 times (cycles).
59 and the governor to test. The time the calculation really needed
60 with the dynamic freq scaling governor is compared with the time needed
87 50 50 50 50ms ->time
[all …]
Dparse.c95 dirname, sysdata.nodename, sysdata.release, time(NULL)); in prepare_output()
98 dirname, time(NULL)); in prepare_output()
/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c726 struct timespec time; in acpi_os_wait_semaphore() local
788 if (clock_gettime(CLOCK_REALTIME, &time) == -1) { in acpi_os_wait_semaphore()
793 time.tv_sec += (msec_timeout / ACPI_MSEC_PER_SEC); in acpi_os_wait_semaphore()
794 time.tv_nsec += in acpi_os_wait_semaphore()
799 if (time.tv_nsec >= ACPI_NSEC_PER_SEC) { in acpi_os_wait_semaphore()
800 time.tv_sec += (time.tv_nsec / ACPI_NSEC_PER_SEC); in acpi_os_wait_semaphore()
801 time.tv_nsec = (time.tv_nsec % ACPI_NSEC_PER_SEC); in acpi_os_wait_semaphore()
804 while (((ret_val = sem_timedwait(sem, &time)) == -1) in acpi_os_wait_semaphore()
986 struct timeval time; in acpi_os_get_timer() local
990 gettimeofday(&time, NULL); in acpi_os_get_timer()
[all …]
/tools/perf/
Dbuiltin-timechart.c183 u64 time; member
326 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event()
336 pid_exit(tchart, event->fork.pid, event->fork.time); in process_exit_event()
412 we->time = timestamp; in sched_wakeup()
561 if (!tchart->first_time || tchart->first_time > sample->time) in process_sample_event()
562 tchart->first_time = sample->time; in process_sample_event()
563 if (tchart->last_time < sample->time) in process_sample_event()
564 tchart->last_time = sample->time; in process_sample_event()
586 c_state_end(tchart, cpu_id, sample->time); in process_sample_cpu_idle()
588 c_state_start(cpu_id, sample->time, state); in process_sample_cpu_idle()
[all …]
Dbuiltin-kvm.c138 event->total.time = 0; in clear_events_cache_stats()
142 event->vcpu[j].time = 0; in clear_events_cache_stats()
234 kvm_stats->time += time_diff; in kvm_update_event_stats()
352 if (sample->time < time_begin) { in handle_end_event()
357 time_diff = sample->time - time_begin; in handle_end_event()
365 sample->time, sample->pid, vcpu_record->vcpu_id, in handle_end_event()
414 return handle_begin_event(kvm, vcpu_record, &key, sample->time); in handle_kvm_event()
446 GET_EVENT_KEY(time, time);
457 DEF_SORT_NAME_KEY(time, mean),
747 *mmap_time = sample.time; in perf_kvm__mmap_read_idx()
Dbuiltin-script.c372 nsecs = sample->time; in print_sample_start()
564 if (sample->time < last_timestamp) { in process_sample_event()
567 sample->time); in process_sample_event()
570 last_timestamp = sample->time; in process_sample_event()
648 sample->time = 0; in process_comm_event()
681 sample->time = event->fork.time; in process_fork_event()
708 sample->time = 0; in process_exit_event()
742 sample->time = 0; in process_mmap_event()
773 sample->time = 0; in process_mmap2_event()
Dbuiltin-lock.c462 seq->prev_event_time = sample->time; in report_lock_acquire_event()
501 contended_term = sample->time - seq->prev_event_time; in report_lock_acquired_event()
525 seq->prev_event_time = sample->time; in report_lock_acquired_event()
580 seq->prev_event_time = sample->time; in report_lock_contended_event()
/tools/perf/tests/
Dperf-record.c177 pr_info("%" PRIu64" %d ", sample.time, sample.cpu); in test__PERF_RECORD()
181 if (prev_time > sample.time) { in test__PERF_RECORD()
183 name, prev_time, sample.time); in test__PERF_RECORD()
187 prev_time = sample.time; in test__PERF_RECORD()
Dperf-time-to-tsc.c119 comm1_time = sample.time; in test__perf_time_to_tsc()
124 comm2_time = sample.time; in test__perf_time_to_tsc()
Dbp_signal_overflow.c34 return time(NULL); in test_function()
Dbp_signal.c37 return time(NULL); in test_function()
Dsample-parsing.c43 COMP(time); in samples_same()
164 .time = 104, in do_test()
/tools/perf/Documentation/
Dperf-timechart.txt30 There are also poll bars which show how much time application spent
69 --io-min-time=<nsecs>::
70 Draw small events as if they lasted min-time. Useful when you need
72 suffix to specify time in milliseconds or microseconds.
77 It's possible to specify ms or us suffix to specify time in
Dperf-bench.txt33 Total time:5.855 sec
96 Total time:0.308 sec
102 Total time:0.582 sec
122 Total time:8.091 sec
129 Total time:0.016 sec
Dperf-report.txt71 - dso: name of library or module executed at the time of sample
72 - symbol: name of function executed at the time of sample
75 - cpu: cpu number the task ran at the time of sample
76 - srcline: filename and line number executed at the time of sample. The
124 - symbol_daddr: name of data symbol being executed on at the time of sample
126 on at the time of sample
127 - locked: whether the bus was locked at the time of sample
128 - tlb: type of tlb access for the data at the time of sample
129 - mem: type of memory access for the data at the time of sample
130 - snoop: type of snoop (if any) for the data at the time of sample
[all …]
Dperf-kvm.txt61 handled time, samples, and so on.
111 number), time (sort by average time).
148 number), time (sort by average time).
Dexamples.txt42 0.613972165 seconds time elapsed
63 0.643954516 seconds time elapsed ( +- 2.363% )
171 10.000591410 seconds time elapsed
187 1.058135029 seconds time elapsed ( +- 3.089% )
Dperf-script.txt118 comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff, srcline, period.
121 e.g., -f sw:comm,tid,time,ip,sym and -f trace:time,cpu,trace
135 -f trace: -f comm,tid,time,ip,sym
138 second invocation sets the fields to comm,tid,time,ip,sym. In this case a
145 -f comm,tid,time,ip,sym -f trace:
Dperf-trace.txt90 --time
91 Print full timestamp rather time relative to first sample.
135 time it took for fault to be handled!
/tools/thermal/tmon/
DREADME45 -t, --time-interval set time interval for sampling
/tools/perf/util/
Devent.h46 u64 time; member
69 u64 time; member
149 u64 time; member
Dkvm-stat.h19 u64 time; member
/tools/testing/ktest/
Dktest.pl1264 my ($time) = @_;
1269 if (defined($time)) {
1287 if (defined($time)) {
1295 if (wait_for_monitor($time, "Linux version")) {
1304 wait_for_monitor($time, $reboot_success_line);
1311 my ($time) = @_;
1317 reboot $time;
1397 my ($time, $stop) = @_;
1411 $line = wait_for_input($monitor_fp, $time);
1698 my ($fp, $time) = @_;
[all …]

123