Home
last modified time | relevance | path

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

12

/tools/perf/util/
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); }
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()
Dmetricgroup.h66 int runtime; member
Dexpr.h10 int runtime; member
Dstat-shadow.c482 int runtime = mexp->runtime; in generic_metric() local
495 pctx->sctx.runtime = runtime; in generic_metric()
521 "%s %s_%d", unit, metric_name, runtime); in generic_metric()
Dmetricgroup.c214 int runtime, in metric__new() argument
246 m->pctx->sctx.runtime = runtime; in metric__new()
927 int runtime, in __add_metric() argument
955 root_metric = metric__new(pm, modifier, metric_no_group, runtime, in __add_metric()
1664 expr->runtime = m->pctx->sctx.runtime; in parse_groups()
1821 new_expr->runtime = old_expr->runtime; in metricgroup__copy_metric_events()
/tools/testing/selftests/timers/
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()
Dclocksource-switch.c127 int runtime = 60; in main() local
137 runtime = atoi(optarg); in main()
175 return run_tests(runtime); in main()
Dinconsistency-check.c156 int runtime = 10; in main() local
163 runtime = atoi(optarg); in main()
189 if (consistency_test(clockid, runtime)) { in main()
/tools/perf/bench/
Dfutex-requeue.c220 struct timeval start, end, runtime; in bench_futex_requeue() local
264 timersub(&end, &start, &runtime); in bench_futex_requeue()
267 update_stats(&requeuetime_stats, runtime.tv_usec); in bench_futex_requeue()
274 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_requeue()
281 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_requeue()
Dfutex-wake.c189 struct timeval start, end, runtime; in bench_futex_wake() local
209 timersub(&end, &start, &runtime); in bench_futex_wake()
212 update_stats(&waketime_stats, runtime.tv_usec); in bench_futex_wake()
217 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_wake()
Dfutex-lock-pi.c44 .runtime = 10,
49 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
200 getpid(), params.nthreads, params.runtime); in bench_futex_lock_pi()
218 sleep(params.runtime); in bench_futex_lock_pi()
Dfutex-hash.c52 .runtime = 10,
57 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
166 … getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime); in bench_futex_hash()
213 sleep(params.runtime); in bench_futex_hash()
Dfutex-wake-parallel.c43 struct timeval runtime; member
92 timersub(&end, &start, &waker->runtime); in waking_workerfn()
193 update_stats(&__waketime_stats, waking_worker[i].runtime.tv_usec); in print_run()
229 update_stats(&waketime_stats, waking_worker[i].runtime.tv_usec); in do_run_stats()
Dfutex.h23 unsigned int runtime; /* seconds*/ member
/tools/tracing/rtla/src/
Dosnoise.c216 unsigned long long runtime) in __osnoise_write_runtime() argument
223 retval = osnoise_write_ll_config("osnoise/runtime_us", runtime); in __osnoise_write_runtime()
227 context->runtime_us = runtime; in __osnoise_write_runtime()
255 unsigned long long runtime, in osnoise_set_runtime_period() argument
262 if (!period && !runtime) in osnoise_set_runtime_period()
273 if (runtime > curr_period_us) in osnoise_set_runtime_period()
275 return __osnoise_write_runtime(context, runtime); in osnoise_set_runtime_period()
276 } else if (!runtime) { in osnoise_set_runtime_period()
282 if (runtime > curr_period_us) { in osnoise_set_runtime_period()
286 retval = __osnoise_write_runtime(context, runtime); in osnoise_set_runtime_period()
[all …]
Dutils.c410 long runtime; in parse_prio() local
423 runtime = get_long_ns_after_colon(arg); in parse_prio()
424 if (runtime == INVALID_VAL) in parse_prio()
431 if (runtime > period) in parse_prio()
435 sched_param->sched_runtime = runtime; in parse_prio()
Dosnoise_top.c32 unsigned long long runtime; member
372 params->runtime = 750000; in osnoise_top_parse_args()
486 params->runtime = get_llong_from_str(optarg); in osnoise_top_parse_args()
487 if (params->runtime < 100) in osnoise_top_parse_args()
570 if (params->runtime || params->period) { in osnoise_top_apply_config()
572 params->runtime, in osnoise_top_apply_config()
Dosnoise.h66 unsigned long long runtime,
Dosnoise_hist.c25 unsigned long long runtime; member
649 params->runtime = get_llong_from_str(optarg); in osnoise_hist_parse_args()
650 if (params->runtime < 100) in osnoise_hist_parse_args()
748 if (params->runtime || params->period) { in osnoise_hist_apply_config()
750 params->runtime, in osnoise_hist_apply_config()
/tools/perf/Documentation/
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 …
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.
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/
Dkwork_top.bpf.c30 __u64 runtime; member
129 data->runtime += delta; in update_work()
132 .runtime = delta, in update_work()
/tools/verification/rv/
DREADME.txt38 Documentation/trace/rv/runtime-verification.rst

12