Home
last modified time | relevance | path

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

12345

/tools/perf/scripts/python/
Dstat-cpi.py9 def get_key(time, event, cpu, thread): argument
10 return "%d-%s-%d-%d" % (time, event, cpu, thread)
12 def store_key(time, cpu, thread): argument
13 if (time not in times):
14 times.append(time)
22 def store(time, event, cpu, thread, val, ena, run): argument
26 store_key(time, cpu, thread)
27 key = get_key(time, event, cpu, thread)
30 def get(time, event, cpu, thread): argument
31 key = get_key(time, event, cpu, thread)
[all …]
Dnetdev-times.py304 (name, context, cpu, time, pid, comm, irq, irq_name) = event_info
307 irq_record = {'irq':irq, 'name':irq_name, 'cpu':cpu, 'irq_ent_t':time}
311 (name, context, cpu, time, pid, comm, irq, ret) = event_info
317 irq_record.update({'irq_ext_t':time})
323 (name, context, cpu, time, pid, comm, vec) = event_info
332 irq_event_list.append({'time':time, 'event':'sirq_raise'})
337 (name, context, cpu, time, pid, comm, vec) = event_info
338 net_rx_dic[cpu] = {'sirq_ent_t':time, 'event_list':[]}
341 (name, context, cpu, time, pid, comm, vec) = event_info
353 rec_data = {'sirq_ent_t':sirq_ent_t, 'sirq_ext_t':time,
[all …]
Dcall-graph-from-sql.py77 self.time = 0
126 if not self.time:
128 x = (b * Decimal(100)) / self.time
137 def addChild(self, call_path_id, name, dso, count, time, branch_count): argument
143 child_item.time = time
149 child_item.data[3] = str(time)
150 child_item.data[4] = self.timePercent(time)
173 time = 0
179 time += query.value(4) - query.value(3)
182 self.addChild(last_call_path_id, name, dso, count, time, branch_count)
[all …]
Dsctop.py11 import os, sys, thread, time
80 time.sleep(interval)
/tools/testing/selftests/timers/
Dvalid-adjtimex.c205 tmx.time.tv_sec = offset / NSEC_PER_SEC; in set_offset()
206 tmx.time.tv_usec = offset % NSEC_PER_SEC; in set_offset()
208 if (offset < 0 && tmx.time.tv_usec) { in set_offset()
209 tmx.time.tv_sec -= 1; in set_offset()
210 tmx.time.tv_usec += NSEC_PER_SEC; in set_offset()
213 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset()
214 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset()
216 if (offset < 0 && tmx.time.tv_usec) { in set_offset()
217 tmx.time.tv_sec -= 1; in set_offset()
218 tmx.time.tv_usec += USEC_PER_SEC; in set_offset()
[all …]
Dset-2038.c48 int settime(long long time) in settime() argument
53 now.tv_sec = (time_t)time; in settime()
58 printf("Setting time to 0x%lx: %d\n", (long)time, ret); in settime()
88 start = time(0); in main()
Dleap-a-day.c138 if (tx.time.tv_sec < next_leap) { in sigalarm()
142 tx.time.tv_sec, in sigalarm()
143 tx.time.tv_usec, in sigalarm()
151 tx.time.tv_sec, in sigalarm()
152 tx.time.tv_usec, in sigalarm()
328 now = tx.time.tv_sec; in main()
344 ctime_r(&tx.time.tv_sec, buf); in main()
349 tx.time.tv_usec, in main()
353 now = tx.time.tv_sec; in main()
Drtctest_setdate.c35 const char *time = default_time; in main() local
39 time = argv[3]; in main()
59 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main()
Dfreq-step.c42 double time; member
80 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; in get_sample()
93 txc.time.tv_sec = 0; in reset_ntp_error()
94 txc.time.tv_usec = 0; in reset_ntp_error()
128 x = samples[i].time; in regress()
143 x = samples[i].time; in regress()
/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 …]
/tools/perf/Documentation/
Dperf-sched.txt46 time (time between sched-out and next sched-in events for the task), the
47 task scheduling delay (time between wakeup and actually running) and run
48 time for the task:
50 time cpu task name wait time sch delay run time
124 Show visual aid for sched switches by CPU: 'i' marks idle time,
143 --time::
144 Only analyze samples within given time window: <start>,<stop>. Times
145 have the format seconds.microseconds. If start is not given (i.e., time
147 stop time is not given (i.e, time string is 'x.y,') then analysis goes
Dperf-kmem.txt64 --time::
65 Only analyze samples within given time window: <start>,<stop>. Times
66 have the format seconds.microseconds. If start is not given (i.e., time
68 stop time is not given (i.e, time string is 'x.y,') then analysis goes
Dperf-kvm.txt61 handled time, samples, and so on.
111 number), time (sort by average time).
148 number), time (sort by average time).
156 a long time, because the file may be huge. A time out is needed
158 This option sets the time out limit. The default value is 500 ms.
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.txt82 - dso: name of library or module executed at the time of sample
83 - symbol: name of function executed at the time of sample
84 - symbol_size: size of function executed at the time of sample
87 - cpu: cpu number the task ran at the time of sample
88 - socket: processor socket number the task ran at the time of sample
89 - srcline: filename and line number executed at the time of sample. The
132 - symbol_daddr: name of data symbol being executed on at the time of sample
134 on at the time of the sample
135 - locked: whether the bus was locked at the time of the sample
136 - tlb: type of tlb access for the data at the time of the sample
[all …]
/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c755 struct timespec time; in acpi_os_wait_semaphore() local
819 if (clock_gettime(CLOCK_REALTIME, &time) == -1) { in acpi_os_wait_semaphore()
824 time.tv_sec += (msec_timeout / ACPI_MSEC_PER_SEC); in acpi_os_wait_semaphore()
825 time.tv_nsec += in acpi_os_wait_semaphore()
830 if (time.tv_nsec >= ACPI_NSEC_PER_SEC) { in acpi_os_wait_semaphore()
831 time.tv_sec += (time.tv_nsec / ACPI_NSEC_PER_SEC); in acpi_os_wait_semaphore()
832 time.tv_nsec = (time.tv_nsec % ACPI_NSEC_PER_SEC); in acpi_os_wait_semaphore()
835 while (((ret_val = sem_timedwait(sem, &time)) == -1) in acpi_os_wait_semaphore()
1018 struct timeval time; in acpi_os_get_timer() local
1022 gettimeofday(&time, NULL); in acpi_os_get_timer()
[all …]
/tools/laptop/dslm/
Ddslm.c58 static char *myctime(time_t time) in myctime() argument
60 char *ts = ctime(&time); in myctime()
84 start_time = last_time = time(0); in measure()
93 curr_time = time(0); in measure()
109 total_time = time(0) - start_time; in measure()
/tools/power/pm-graph/
Danalyze_suspend.py52 import time
857 def setStart(self, time): argument
858 self.start = time
859 def setEnd(self, time): argument
860 self.end = time
861 def isTraceEventOutsideDeviceCalls(self, pid, time): argument
866 if(d['pid'] == pid and time >= d['start'] and
867 time < d['end']):
1008 for e in sorted(src, key=lambda event: event.time):
1014 p.length = p.end - p.time
[all …]
/tools/perf/
Dbuiltin-timechart.c188 u64 time; member
331 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event()
341 pid_exit(tchart, event->fork.pid, event->fork.time); in process_exit_event()
417 we->time = timestamp; in sched_wakeup()
567 if (!tchart->first_time || tchart->first_time > sample->time) in process_sample_event()
568 tchart->first_time = sample->time; in process_sample_event()
569 if (tchart->last_time < sample->time) in process_sample_event()
570 tchart->last_time = sample->time; in process_sample_event()
592 c_state_end(tchart, cpu_id, sample->time); in process_sample_cpu_idle()
594 c_state_start(cpu_id, sample->time, state); in process_sample_cpu_idle()
[all …]
/tools/perf/util/
Dthread-stack.c425 return thread_stack__push_cp(thread->ts, ip, sample->time, ref, cp, in thread_stack__bottom()
444 sample->time, ref, in thread_stack__no_call_return()
457 return thread_stack__push_cp(ts, 0, sample->time, ref, in thread_stack__no_call_return()
464 sample->time, ref, in thread_stack__no_call_return()
482 err = thread_stack__push_cp(ts, sample->addr, sample->time, ref, cp, in thread_stack__no_call_return()
487 return thread_stack__pop_cp(thread, ts, sample->addr, sample->time, ref, in thread_stack__no_call_return()
531 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, in thread_stack__trace_end()
579 ts->last_time = sample->time; in thread_stack__process()
598 err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, in thread_stack__process()
605 sample->time, ref, from_al->sym); in thread_stack__process()
[all …]
/tools/testing/selftests/powerpc/
Dharness.c97 void test_harness_set_timeout(uint64_t time) in test_harness_set_timeout() argument
99 timeout = time; in test_harness_set_timeout()
/tools/testing/selftests/intel_pstate/
Daperf.c74 start = before.time*1000 + before.millitm; in main()
75 finish = after.time*1000 + after.millitm; in main()
/tools/perf/tests/
Dperf-record.c185 pr_info("%" PRIu64" %d ", sample.time, sample.cpu); in test__PERF_RECORD()
189 if (prev_time > sample.time) { in test__PERF_RECORD()
191 name, prev_time, sample.time); in test__PERF_RECORD()
195 prev_time = sample.time; in test__PERF_RECORD()
/tools/perf/arch/x86/tests/
DBuild6 libperf-y += perf-time-to-tsc.o

12345