Home
last modified time | relevance | path

Searched refs:runtime (Results 1 – 14 of 14) sorted by relevance

/tools/testing/selftests/timers/
Dthreadtest.c135 time_t start, now, runtime; in main() local
144 runtime = DEFAULT_RUNTIME; in main()
150 runtime = atoi(optarg); in main()
177 printf("Testing consistency with %i threads for %ld seconds: ", thread_count, runtime); in main()
183 while (time(&now) < start + runtime) { in main()
Dinconsistency-check.c169 int runtime = 10; in main() local
176 runtime = atoi(optarg); in main()
199 if (consistency_test(clockid, runtime)) in main()
/tools/perf/bench/
Dfutex-wake.c160 struct timeval start, end, runtime; in bench_futex_wake() local
179 timersub(&end, &start, &runtime); in bench_futex_wake()
182 update_stats(&waketime_stats, runtime.tv_usec); in bench_futex_wake()
186 j + 1, nwoken, nthreads, runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_wake()
Dfutex-requeue.c155 struct timeval start, end, runtime; in bench_futex_requeue() local
181 timersub(&end, &start, &runtime); in bench_futex_requeue()
184 update_stats(&requeuetime_stats, runtime.tv_usec); in bench_futex_requeue()
188 j + 1, nrequeued, nthreads, runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_requeue()
Dfutex-lock-pi.c35 struct timeval start, end, runtime; variable
62 (int) runtime.tv_sec); in print_summary()
72 timersub(&end, &start, &runtime); in toggle_done()
204 unsigned long t = worker[i].ops/runtime.tv_sec; in bench_futex_lock_pi()
Dfutex-hash.c36 struct timeval start, end, runtime; variable
101 timersub(&end, &start, &runtime); in toggle_done()
111 (int) runtime.tv_sec); in print_summary()
199 unsigned long t = worker[i].ops/runtime.tv_sec; in bench_futex_hash()
Dfutex-wake-parallel.c30 struct timeval runtime; member
73 timersub(&end, &start, &waker->runtime); in waking_workerfn()
150 update_stats(&__waketime_stats, waking_worker[i].runtime.tv_usec); in print_run()
186 update_stats(&waketime_stats, waking_worker[i].runtime.tv_usec); in do_run_stats()
/tools/power/cpupower/
DREADME6 On x86 pciutils is needed at runtime (-lpci).
/tools/perf/Documentation/
Dperf-sched.txt29 threads can then replay the timings (CPU runtime and sleep patterns)
Dperf-trace.txt85 Accrue thread runtime and provide a summary at the end of the session.
/tools/perf/
Dbuiltin-sched.c89 u64 runtime; member
506 u64 runtime; in get_cpu_usage_nsec_self() local
509 ret = read(fd, &runtime, sizeof(runtime)); in get_cpu_usage_nsec_self()
510 BUG_ON(ret != sizeof(runtime)); in get_cpu_usage_nsec_self()
512 return runtime; in get_cpu_usage_nsec_self()
938 atom->runtime += delta; in add_runtime_event()
1049 const u64 runtime = perf_evsel__intval(evsel, sample, "runtime"); in latency_runtime_event() local
1071 add_runtime_event(atoms, runtime, timestamp); in latency_runtime_event()
Dbuiltin-trace.c1734 u64 runtime = perf_evsel__intval(evsel, sample, "runtime"); in trace__sched_stat_runtime() local
1735 double runtime_ms = (double)runtime / NSEC_PER_MSEC; in trace__sched_stat_runtime()
1754 runtime, in trace__sched_stat_runtime()
/tools/objtool/Documentation/
Dstack-validation.txt34 Frame pointers are used for debugging purposes. They allow runtime
102 CFI metadata is out of band. So it doesn't affect runtime
118 We might also add a runtime stack validation debug option where we
125 kernel warning/oops traces if the architecture has a runtime DWARF
/tools/perf/scripts/python/
Dsched-migration.py372 common_callchain, comm, pid, runtime, vruntime):