Home
last modified time | relevance | path

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

12

/tools/perf/util/
A Dexpr.l39 static char *normalize(char *str, int runtime) in normalize() argument
53 int size = asprintf(&paramval, "%d", runtime); in normalize()
72 static int str(yyscan_t scanner, int token, int runtime) in str() argument
77 yylval->str = normalize(strdup(text), runtime); in str()
81 yylval->str = normalize(yylval->str, runtime); in str()
129 {symbol} { return str(yyscanner, ID, sctx->runtime); }
A Dbpf_kwork_top.c35 __u64 runtime; member
262 work->total_runtime = data->runtime; in add_work()
293 if (data[i].runtime == 0) in perf_kwork__top_read_bpf()
A Dmetricgroup.h66 int runtime; member
A Dexpr.h10 int runtime; member
A Dmetricgroup.c223 int runtime, in metric__new() argument
255 m->pctx->sctx.runtime = runtime; in metric__new()
814 int runtime, in __add_metric() argument
843 runtime, user_requested_cpu_list, system_wide); in __add_metric()
1464 expr->runtime = m->pctx->sctx.runtime; in parse_groups()
1622 new_expr->runtime = old_expr->runtime; in metricgroup__copy_metric_events()
A Dstat-shadow.c499 int runtime = mexp->runtime; in generic_metric() local
512 pctx->sctx.runtime = runtime; in generic_metric()
538 "%s %s_%d", unit, metric_name, runtime); in generic_metric()
/tools/testing/selftests/timers/
A Dthreadtest.c123 time_t start, now, runtime; in main() local
132 runtime = DEFAULT_RUNTIME; in main()
138 runtime = atoi(optarg); in main()
165 printf("Testing consistency with %i threads for %ld seconds: ", thread_count, runtime); in main()
172 while (time(&now) < start + runtime) { in main()
A Dclocksource-switch.c127 int runtime = 60; in main() local
137 runtime = atoi(optarg); in main()
175 return run_tests(runtime); in main()
A Dinconsistency-check.c145 int runtime = 10; in main() local
152 runtime = atoi(optarg); in main()
178 if (consistency_test(clockid, runtime)) { in main()
/tools/tracing/rtla/src/
A Dosnoise.c220 unsigned long long runtime) in __osnoise_write_runtime() argument
231 context->runtime_us = runtime; in __osnoise_write_runtime()
259 unsigned long long runtime, in osnoise_set_runtime_period() argument
266 if (!period && !runtime) in osnoise_set_runtime_period()
277 if (runtime > curr_period_us) in osnoise_set_runtime_period()
279 return __osnoise_write_runtime(context, runtime); in osnoise_set_runtime_period()
280 } else if (!runtime) { in osnoise_set_runtime_period()
286 if (runtime > curr_period_us) { in osnoise_set_runtime_period()
290 retval = __osnoise_write_runtime(context, runtime); in osnoise_set_runtime_period()
1139 if (params->runtime || params->period) { in osnoise_apply_config()
[all …]
A Dosnoise.h18 unsigned long long runtime; member
115 unsigned long long runtime,
A Dtimerlat.h27 unsigned long long runtime; member
A Dutils.c411 long runtime; in parse_prio() local
424 runtime = get_long_ns_after_colon(arg); in parse_prio()
425 if (runtime == INVALID_VAL) in parse_prio()
432 if (runtime > period) in parse_prio()
436 sched_param->sched_runtime = runtime; in parse_prio()
/tools/perf/bench/
A Dfutex-requeue.c225 struct timeval start, end, runtime; in bench_futex_requeue() local
269 timersub(&end, &start, &runtime); in bench_futex_requeue()
272 update_stats(&requeuetime_stats, runtime.tv_usec); in bench_futex_requeue()
279 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_requeue()
286 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_requeue()
A Dfutex-wake.c192 struct timeval start, end, runtime; in bench_futex_wake() local
212 timersub(&end, &start, &runtime); in bench_futex_wake()
215 update_stats(&waketime_stats, runtime.tv_usec); in bench_futex_wake()
220 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_wake()
A Dfutex-hash.c53 .runtime = 10,
60 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
171 … getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime); in bench_futex_hash()
218 sleep(params.runtime); in bench_futex_hash()
A Dfutex-lock-pi.c45 .runtime = 10,
51 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
203 getpid(), params.nthreads, params.runtime); in bench_futex_lock_pi()
222 sleep(params.runtime); in bench_futex_lock_pi()
A Dfutex-wake-parallel.c43 struct timeval runtime; member
95 timersub(&end, &start, &waker->runtime); in waking_workerfn()
196 update_stats(&__waketime_stats, waking_worker[i].runtime.tv_usec); in print_run()
233 update_stats(&waketime_stats, waking_worker[i].runtime.tv_usec); in do_run_stats()
/tools/testing/selftests/ublk/
A Dtest_common.sh280 --runtime=20 --time_based > /dev/null 2>&1 &
283 --numjobs="$(nproc)" --runtime=20 --time_based \
346 --runtime=20 --time_based > /dev/null 2>&1 &
A Dtest_stress_05.sh22 --runtime=40 --time_based > /dev/null 2>&1 &
/tools/perf/Documentation/
A Djitdump-specification.txt44 * uint32_t pid : JIT runtime process identification (OS specific)
64 * Value 3 : JIT_CODE_CLOSE : record marking the end of the jit runtime (optional)
73 * uint32_t pid: OS process id of the runtime generating the jitted code
74 * uint32_t tid: OS thread identification of the runtime thread generating the jitted code
99 * uint32_t pid : OS process id of the runtime generating the jitted code
100 …* uint32_t tid : OS thread identification of the runtime thread generating the jitted code
108 The MOVE record can be used in case an already jitted function is simply moved by the runtime insid…
144 The record is used as a marker for the end of the jitted runtime. It can be replaced by the end of …
A DBuild.txt67 supported by GCC. UBSan detects undefined behaviors of programs at runtime.
73 If UBSan detects any problem at runtime, it outputs a “runtime error:” message.
A Dperf-kwork.txt20 'perf kwork report' to report the per kwork runtime.
84 Use BPF to measure kwork runtime
100 Sort by key(s): runtime, max, count
203 Sort by key(s): rate, runtime, tid
/tools/perf/util/bpf_skel/
A Dkwork_top.bpf.c32 __u64 runtime; member
131 data->runtime += delta; in update_work()
134 .runtime = delta, in update_work()
/tools/verification/rv/
A DREADME.txt38 Documentation/trace/rv/runtime-verification.rst

Completed in 32 milliseconds

12