Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dexpr.l38 static char *normalize(char *str, int runtime) in normalize() argument
51 int size = asprintf(&paramval, "%d", runtime); in normalize()
70 static int str(yyscan_t scanner, int token, int runtime) in str() argument
75 yylval->str = normalize(strdup(text), runtime); in str()
79 yylval->str = normalize(yylval->str, runtime); in str()
110 {symbol} { return str(yyscanner, ID, sctx->runtime); }
Dexpr.h30 int runtime; member
44 const char *expr, int runtime);
46 struct expr_parse_ctx *ids, int runtime);
Dexpr.c233 int start, int runtime) in __expr__parse() argument
237 .runtime = runtime, in __expr__parse()
265 const char *expr, int runtime) in expr__parse() argument
267 return __expr__parse(final_val, ctx, expr, EXPR_PARSE, runtime) ? -1 : 0; in expr__parse()
271 struct expr_parse_ctx *ctx, int runtime) in expr__find_other() argument
273 int ret = __expr__parse(NULL, ctx, expr, EXPR_OTHER, runtime); in expr__find_other()
Dmetricgroup.h35 int runtime; member
Dmetricgroup.c127 int runtime; member
389 expr->runtime = m->runtime; in metricgroup__setup_events()
785 int runtime, in __add_metric() argument
806 m->runtime = runtime; in __add_metric()
856 if (expr__find_other(pe->metric_expr, NULL, &m->pctx, runtime) < 0) { in __add_metric()
1333 new_expr->runtime = old_expr->runtime; in metricgroup__copy_metric_events()
Dstat-shadow.c877 int runtime, in generic_metric() argument
893 if (expr__parse(&ratio, &pctx, metric_expr, runtime) == 0) { in generic_metric()
904 "%s %s_%d", unit, metric_name, runtime); in generic_metric()
1301 mexp->metric_unit, mexp->runtime, cpu, out, st); in perf_stat__print_shadow_stats()
/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()
Dinconsistency-check.c158 int runtime = 10; in main() local
165 runtime = atoi(optarg); in main()
188 if (consistency_test(clockid, runtime)) in main()
/tools/perf/bench/
Dfutex-requeue.c207 struct timeval start, end, runtime; in bench_futex_requeue() local
251 timersub(&end, &start, &runtime); in bench_futex_requeue()
254 update_stats(&requeuetime_stats, runtime.tv_usec); in bench_futex_requeue()
261 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_requeue()
268 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_requeue()
Dfutex-wake.c177 struct timeval start, end, runtime; in bench_futex_wake() local
197 timersub(&end, &start, &runtime); in bench_futex_wake()
200 update_stats(&waketime_stats, runtime.tv_usec); in bench_futex_wake()
205 runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_wake()
Dfutex-hash.c51 .runtime = 10,
56 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
163 … getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime); in bench_futex_hash()
200 sleep(params.runtime); in bench_futex_hash()
Dfutex-lock-pi.c43 .runtime = 10,
48 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
186 getpid(), params.nthreads, params.runtime); in bench_futex_lock_pi()
206 sleep(params.runtime); in bench_futex_lock_pi()
Dfutex-wake-parallel.c42 struct timeval runtime; member
91 timersub(&end, &start, &waker->runtime); in waking_workerfn()
175 update_stats(&__waketime_stats, waking_worker[i].runtime.tv_usec); in print_run()
211 update_stats(&waketime_stats, waking_worker[i].runtime.tv_usec); in do_run_stats()
Dfutex.h23 unsigned int runtime; /* seconds*/ member
/tools/perf/Documentation/
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.
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 …
Dperf-sched.txt29 threads can then replay the timings (CPU runtime and sleep patterns)
/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck.sh102 echo $runerrors runs with runtime errors.
Dkvm-test-1-run.sh195 echo "10." Check for runtime errors using the following command: >> $resdir/bare-metal
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh508 name acl_region_rehash_interval cmode runtime value 0
516 name acl_region_rehash_interval cmode runtime value 3000
583 name acl_region_rehash_interval cmode runtime value 0
591 name acl_region_rehash_interval cmode runtime value 3000
743 name acl_region_rehash_interval cmode runtime value 0
760 name acl_region_rehash_interval cmode runtime value 3000
787 name acl_region_rehash_interval cmode runtime value 0
/tools/power/cpupower/
DREADME6 On x86 pciutils is needed at runtime (-lpci).
/tools/perf/
Dbuiltin-sched.c125 u64 runtime; member
604 u64 runtime; in get_cpu_usage_nsec_self() local
607 ret = read(fd, &runtime, sizeof(runtime)); in get_cpu_usage_nsec_self()
608 BUG_ON(ret != sizeof(runtime)); in get_cpu_usage_nsec_self()
610 return runtime; in get_cpu_usage_nsec_self()
1070 atom->runtime += delta; in add_runtime_event()
1182 const u64 runtime = evsel__intval(evsel, sample, "runtime"); in latency_runtime_event() local
1204 add_runtime_event(atoms, runtime, timestamp); in latency_runtime_event()
/tools/power/pm-graph/config/
Dexample.cfg49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action)
/tools/objtool/Documentation/
Dstack-validation.txt35 Frame pointers are used for debugging purposes. They allow runtime
101 band. So it doesn't affect runtime performance and it can be
/tools/perf/scripts/python/
Dsched-migration.py374 common_callchain, comm, pid, runtime, vruntime):

12