Home
last modified time | relevance | path

Searched refs:clock (Results 1 – 25 of 40) sorted by relevance

12

/tools/perf/tests/shell/
A Drecord_bpf_filter.sh25 if ! perf record -e task-clock --filter 'period > 1' \
44 if ! perf record -e task-clock -c 10000 --filter 'ip < 0xffffffff00000000' \
70 if ! perf record -e task-clock --filter 'cpu > 0' \
78 if ! perf record --sample-cpu -e task-clock --filter 'cpu > 0' \
92 if ! perf record -e task-clock --filter 'period > 1000, ip > 0' \
100 if ! perf record -e task-clock --filter 'period > 1000 , cpu > 0 || ip > 0' \
108 if ! perf record -e task-clock --filter 'period > 0 || code_pgsz > 4096' \
122 if ! perf record -e task-clock --filter 'period > 100000' \
131 if ! perf script -i "${perfdata}" -F period,event | grep task-clock | \
153 if ! perf record -e task-clock --filter 'cgroup == /' \
[all …]
A Dpipe_test.sh42 if ! perf record -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task}
49 if ! perf record -g -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task}
56 perf record -g -e task-clock:u -o - ${prog} > ${data}
73 …if ! perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt}| perf report -i - | grep…
80 …if ! perf record -g -e task-clock:u -o - ${prog} | perf inject ${inject_opt} | perf report -i - | …
87 perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt} -o ${data}
94 perf record -e task-clock:u -o ${data} ${prog}
101 perf record -e task-clock:u -o - ${prog} > ${data}
108 perf record -e task-clock:u -o - ${prog} > ${data}
A Ddaemon.sh171 run = -e cpu-clock -m 1 sleep 10
174 run = -e task-clock -m 1 sleep 10
226 run = -e cpu-clock -m 1 sleep 10
229 run = -e task-clock -m 1 sleep 10
253 run = -e cpu-clock -m 1 sleep 10
256 run = -e cpu-clock -m 1 sleep 10
351 run = -e cpu-clock -m 1 sleep 10
354 run = -e task-clock -m 1 sleep 10
464 run = -e cpu-clock -m 1 sleep 10
467 run = -e task-clock -m 1 sleep 10
[all …]
A Dstat+std_output.sh14 event_name=(cpu-clock task-clock context-switches cpu-migrations page-faults stalled-cycles-fronten…
A Dtest_bpf_metadata.sh34 if ! perf record -e task-clock --filter 'ip > 0' \
A Dstat_bpf_counters_cgrp.sh51 …put=$(perf stat -a --bpf-counters --for-each-cgroup ${test_cgroups} -e cpu-clock -x, sleep 1 2>&1)
A Drecord.sh136 if ! perf record -aB --synth=no -e cpu-clock,cs --threads=cpu \
166 if ! perf record -e cpu-clock,cs --threads=package \
A Dstat+json_output.sh82 perf stat -j -e cpu-clock -o "${stat_output}" true
/tools/testing/selftests/vDSO/
A Dvdso_test_correctness.c271 if (sys_clock_gettime(clock, &start) < 0) { in test_one_clock_gettime()
273 vdso_ret = VDSO_CALL(vdso_clock_gettime, 2, clock, &vdso); in test_one_clock_gettime()
286 vdso_ret = VDSO_CALL(vdso_clock_gettime, 2, clock, &vdso); in test_one_clock_gettime()
287 end_ret = sys_clock_gettime(clock, &end); in test_one_clock_gettime()
317 for (int clock = 0; clock < ARRAY_SIZE(clocknames); clock++) in test_clock_gettime() local
318 test_one_clock_gettime(clock, clocknames[clock]); in test_clock_gettime()
333 if (sys_clock_gettime64(clock, &start) < 0) { in test_one_clock_gettime64()
348 vdso_ret = VDSO_CALL(vdso_clock_gettime64, 2, clock, &vdso); in test_one_clock_gettime64()
349 end_ret = sys_clock_gettime64(clock, &end); in test_one_clock_gettime64()
379 for (int clock = 0; clock < ARRAY_SIZE(clocknames); clock++) in test_clock_gettime64() local
[all …]
/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfgraph-multi-filter.tc97 clock_cnt=`function_count clock`
98 locks_clock_cnt=`function_count locks clock`
99 clock_locks_cnt=`function_count clock locks`
167 check_cnt $locks_clock_cnt locks clock
170 check_cnt $clock_locks_cnt clock locks
/tools/testing/selftests/damon/
A Daccess_memory.c35 start_clock = clock(); in main()
36 while ((clock() - start_clock) * 1000 / CLOCKS_PER_SEC < in main()
/tools/perf/Documentation/
A Dcpu-and-latency-overheads.txt3 There are two notions of time: wall-clock time and CPU time.
7 Each second of wall-clock time we have number-of-cores seconds of CPU time.
9 'latency' columns for CPU and wall-clock time correspondingly).
51 flags. It shows fraction of (wall-clock) time the workload utilizes different
55 CPU and wall-clock overheads:
A Dperf-data.txt34 Convert time to wall clock time.
/tools/testing/selftests/mqueue/
A Dmq_perf_tests.c352 clock_gettime(clock, &start); \
355 clock_gettime(clock, &middle); \
358 clock_gettime(clock, &end); \
432 clockid_t clock; in perf_test_thread() local
444 if (pthread_getcpuclockid(cpu_threads[0], &clock) != 0) in perf_test_thread()
447 if (clock_getres(clock, &res)) in perf_test_thread()
487 clock_gettime(clock, &start); in perf_test_thread()
492 clock_gettime(clock, &end); in perf_test_thread()
516 clock_gettime(clock, &start); in perf_test_thread()
518 clock_gettime(clock, &end); in perf_test_thread()
/tools/testing/selftests/timens/
A Dtimens.c36 #define ct(clock, off_id) { clock, #clock, off_id } argument
/tools/testing/selftests/kvm/x86/
A Dkvm_clock_test.c58 exp_lo = start->clock; in handle_sync()
59 exp_hi = end->clock; in handle_sync()
83 data.clock = test_case->kvmclock_base; in setup_clock()
A Dhyperv_clock.c255 struct kvm_clock_data clock = {0}; in main() local
257 vm_ioctl(vm, KVM_SET_CLOCK, &clock); in main()
A Dxen_shinfo_test.c1012 kcdata.clock / NSEC_PER_SEC, kcdata.clock % NSEC_PER_SEC); in main()
1017 delta = (wc->sec * NSEC_PER_SEC + wc->nsec) - (kcdata.realtime - kcdata.clock); in main()
1027 wc->sec, wc->nsec, (kcdata.realtime - kcdata.clock) / NSEC_PER_SEC, in main()
1028 (kcdata.realtime - kcdata.clock) % NSEC_PER_SEC); in main()
/tools/include/asm/
A Dtimex.h11 return clock(); in get_cycles()
/tools/perf/util/
A Ddata-convert-bt.c68 struct bt_ctf_clock *clock; member
1399 struct bt_ctf_clock *clock = cw->clock; in ctf_writer__setup_clock() local
1406 if (!env->clock.enabled) { in ctf_writer__setup_clock()
1412 desc = clockid_name(env->clock.clockid); in ctf_writer__setup_clock()
1413 offset = env->clock.tod_ns - env->clock.clockid_ns; in ctf_writer__setup_clock()
1418 if (bt_ctf_clock_set_##__n(clock, __v)) \ in ctf_writer__setup_clock()
1501 bt_ctf_clock_put(cw->clock); in ctf_writer__cleanup()
1515 struct bt_ctf_clock *clock; in ctf_writer__init() local
1527 clock = bt_ctf_clock_create("perf_clock"); in ctf_writer__init()
1528 if (!clock) { in ctf_writer__init()
[all …]
A Ddata-convert-json.c295 if (env->clock.enabled) { in output_headers()
297 "%u", env->clock.clockid); in output_headers()
299 "%" PRIu64, env->clock.clockid_ns); in output_headers()
301 "%" PRIu64, env->clock.tod_ns); in output_headers()
A Denv.h140 } clock; member
/tools/testing/selftests/net/
A Dbind_bhash.c122 begin = clock(); in main()
129 end = clock(); in main()
A Dso_txtime.c63 static uint64_t gettime_ns(clockid_t clock) in gettime_ns() argument
67 if (clock_gettime(clock, &ts)) in gettime_ns()
/tools/perf/tests/shell/lib/
A Dstat_output.sh56 perf stat -e cpu-clock $2 true

Completed in 28 milliseconds

12