Home
last modified time | relevance | path

Searched refs:instructions (Results 1 – 25 of 62) sorted by relevance

123

/tools/perf/tests/shell/
A Dstat_bpf_counters.sh44 …base_instructions=$(perf stat --no-big-num -e instructions -- $workload 2>&1 | awk '/instructions/…
45 …bpf_instructions=$(perf stat --no-big-num --bpf-counters -e instructions -- $workload 2>&1 | awk …
54 …stat_output=$(perf stat --no-big-num -e instructions/name=base_instructions/,instructions/name=bpf…
63 if ! perf stat -e instructions --bpf-counters true > /dev/null 2>&1; then
66 perf --no-pager stat -e instructions --bpf-counters true || true
A Dstat+shadow_stat.sh17 perf stat -a --no-big-num -e cycles,instructions sleep 1 2>&1 | \
18 grep -e cycles -e instructions | \
56 perf stat -a -A --no-big-num -e cycles,instructions sleep 1 2>&1 | \
A Dstat.sh146 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
177 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
A Dstat+std_output.sh14 …ons page-faults stalled-cycles-frontend stalled-cycles-backend cycles instructions branches branch…
A Dstat+json_output.sh184 perf stat -j --metric-only -e instructions,cycles -o "${stat_output}" true
/tools/testing/selftests/powerpc/pmu/
A Dcount_instructions.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument
38 thirty_two_instruction_loop(instructions >> 5); in do_count_loop()
45 expected = instructions + overhead; in do_count_loop()
53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop()
A Dcount_stcx_fail.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument
39 thirty_two_instruction_loop_with_ll_sc(instructions >> 5, &dummy); in do_count_loop()
47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop()
57 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop()
/tools/perf/Documentation/
A Ditrace.txt1 i synthesize instructions events
34 for instructions events can be specified in units of:
36 i instructions
42 Also the call chain size (default 16, max. 1024) for instructions or
46 instructions or transactions events can be specified.
52 It is also possible to skip events generated (instructions, branches, transactions,
57 skips the first million instructions.
A Dintel-hybrid.txt29 [Fixed Counter: Counts the number of instructions retired. Unit: cpu_atom]
31 [Number of instructions retired. Fixed Counter - architectural event. Unit: cpu_core]
184 cpu_core/instructions/,
185 cpu_atom/instructions/,
199 perf stat -e cpu_core/cycles/,cpu_atom/instructions/
200 perf stat -e '{cpu_core/cycles/,cpu_core/instructions/}'
202 But '{cpu_core/cycles/,cpu_atom/instructions/}' will return
A Dtips.txt2 Sample related events with: perf record -e '{cycles,instructions}:S'
40 To compute metrics for samples use perf record -e '{cycles,instructions}' ... ; perf script -F +met…
41 See assembly instructions with percentage: perf annotate <symbol>
60 To show IPC for sampling periods use perf record -e '{cycles,instructions}:S' and then browse conte…
A Dperf-arm-spe.txt17 events down to individual instructions. Rather than being interrupt-driven, it picks an
33 architectural instructions or all micro-ops. Sampling happens at a programmable interval. The
101 If an implementation samples micro-operations instead of instructions, the results of sampling must
160 bit 1 - instruction retired (i.e. omit speculative instructions)
166 So to sample just retired instructions:
178 attributes/events of the SPE record. Because instructions can have multiple events associated with
A Dperf-annotate.txt105 Show raw instruction encoding of assembly instructions.
160 samples (if they are memory accessing instructions) using DWARF debug
172 Show data type info in code annotation (for memory instructions only).
/tools/testing/selftests/powerpc/pmu/ebb/
A Dinstruction_count_test.c25 static int do_count_loop(struct event *event, uint64_t instructions, in do_count_loop() argument
37 thirty_two_instruction_loop(instructions >> 5); in do_count_loop()
46 expected = instructions + overhead; in do_count_loop()
51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop()
/tools/memory-model/
A Dlinux-kernel.bell21 instructions R[Accesses]
22 instructions W[Accesses]
23 instructions RMW[Accesses]
37 instructions F[Barriers]
52 instructions SRCU[SRCU]
/tools/testing/selftests/kvm/x86/
A Dnested_emulation_test.c20 static struct emulated_instruction instructions[] = { variable
82 for (i = 0; i < ARRAY_SIZE(instructions); i++) { in guest_code()
83 struct emulated_instruction *insn = &instructions[i]; in guest_code()
/tools/perf/tests/shell/attr/
A Dtest-stat-group13 args = -e '{cycles,instructions}' kill >/dev/null 2>&1
A Dtest-record-group13 args = --no-bpf-event -e '{cycles,instructions}' kill >/dev/null 2>&1
A Dtest-record-group23 args = --no-bpf-event -e '{cycles/period=1234000/,instructions/period=6789000/}:S' kill >/dev/nu…
A Dtest-record-group33 args = --no-bpf-event -e '{cycles/period=1234000/,instructions/period=6789000/}:S' kill >/dev/nu…
A DREADME52 perf record -e '{cycles,instructions}' kill (test-record-group1)
53 perf record -e '{cycles/period=1/,instructions/period=2/}:S' kill (test-record-group2)
70 perf stat -e '{cycles,instructions}' kill (test-stat-group1)
/tools/arch/x86/kcpuid/
A Dcpuid.csv57 0x1, 0, ecx, 25, aes , AES instructions
60 0x1, 0, ecx, 28, avx , AVX instructions support
85 0x1, 0, edx, 23, mmx , MMX instructions
87 0x1, 0, edx, 25, sse , SSE instructions
88 0x1, 0, edx, 26, sse2 , SSE2 instructions
137 # MONITOR/MWAIT instructions enumeration
208 0x7, 0, ebx, 19, adx , ADCX/ADOX instructions
225 0x7, 0, ecx, 5, waitpkg , WAITPKG instructions
272 0x7, 1, eax, 4, avx_vnni , AVX-VNNI instructions
692 0x80000001, 0, edx, 23, e_mmx , MMX instructions
[all …]
/tools/perf/util/
A Dparse-events.l342 instructions { return hw_term(yyscanner, PERF_COUNT_HW_INSTRUCTIONS); }
345 branch-instructions|branches { return hw_term(yyscanner, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); }
397 instructions { return sym(yyscanner, PERF_COUNT_HW_INSTRUCTIONS); }
400 branch-instructions|branches { return sym(yyscanner, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); }
A Ddisasm.h22 struct ins *instructions; member
A Dstat-shadow.c314 int aggr_idx, double instructions, in print_instructions() argument
325 "insn per cycle", instructions / cycles); in print_instructions()
330 if (max_stalled && instructions) { in print_instructions()
334 "stalled cycles per insn", max_stalled / instructions); in print_instructions()
/tools/perf/tests/shell/lib/
A Dstat_output.sh159 perf stat --metric-only $2 -e instructions,cycles true

Completed in 32 milliseconds

123