Home
last modified time | relevance | path

Searched refs:ebb_state (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c29 struct ebb_state ebb_state; variable
75 count = ebb_state.stats.pmc_count[PMC_INDEX(pmc)]; in ebb_check_count()
77 lower = ebb_state.stats.ebb_count * (sample_period - fudge); in ebb_check_count()
85 upper = ebb_state.stats.ebb_count * (sample_period + fudge); in ebb_check_count()
106 ebb_state.stats.spurious++; in standard_ebb_callee()
110 ebb_state.stats.ebb_count++; in standard_ebb_callee()
111 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in standard_ebb_callee()
114 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in standard_ebb_callee()
118 if (ebb_state.pmc_enable[PMC_INDEX(i)]) in standard_ebb_callee()
123 ebb_state.stats.no_overflow++; in standard_ebb_callee()
[all …]
Dback_to_back_ebbs_test.c33 ebb_state.stats.spurious++; in ebb_callee()
37 ebb_state.stats.ebb_count++; in ebb_callee()
38 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in ebb_callee()
44 if (ebb_state.stats.ebb_count == NUMBER_OF_EBBS) in ebb_callee()
53 trace_log_reg(ebb_state.trace, SPRN_SIAR, siar); in ebb_callee()
56 trace_log_reg(ebb_state.trace, SPRN_PMC1, val); in ebb_callee()
59 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in ebb_callee()
88 while (ebb_state.stats.ebb_count < NUMBER_OF_EBBS) in back_to_back_ebbs()
98 FAIL_IF(ebb_state.stats.ebb_count != NUMBER_OF_EBBS); in back_to_back_ebbs()
Dcycles_with_freeze_test.c32 ebb_state.stats.spurious++; in ebb_callee()
36 ebb_state.stats.ebb_count++; in ebb_callee()
37 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in ebb_callee()
40 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in ebb_callee()
43 trace_log_string(ebb_state.trace, "frozen"); in ebb_callee()
79 while ((ebb_state.stats.ebb_count < 20 && !fc_cleared) || in cycles_with_freeze()
80 ebb_state.stats.ebb_count < 1) in cycles_with_freeze()
108 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_with_freeze()
Dpmae_handling_test.c37 ebb_state.stats.spurious++; in syscall_ebb_callee()
41 ebb_state.stats.ebb_count++; in syscall_ebb_callee()
79 while (ebb_state.stats.ebb_count < 20 && !mmcr0_mismatch) in test_body()
92 FAIL_IF(ebb_state.stats.ebb_count == 0); in test_body()
Dpmc56_overflow_test.c25 ebb_state.stats.spurious++; in ebb_callee()
29 ebb_state.stats.ebb_count++; in ebb_callee()
73 while (ebb_state.stats.ebb_count < 10) in pmc56_overflow()
85 FAIL_IF(ebb_state.stats.ebb_count == 0 || pmc56_overflowed != 0); in pmc56_overflow()
Debb.h18 struct ebb_state struct
32 extern struct ebb_state ebb_state; argument
43 ebb_state.pmc_enable[PMC_INDEX(pmc)] = true; in ebb_enable_pmc_counting()
Dcycles_with_mmcr2_test.c56 while ((ebb_state.stats.ebb_count < 20 && !bad_mmcr2) || in cycles_with_mmcr2()
57 ebb_state.stats.ebb_count < 1) in cycles_with_mmcr2()
79 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_with_mmcr2()
Dinstruction_count_test.c45 event->result.value = ebb_state.stats.pmc_count[4-1]; in do_count_loop()
55 printf("Took %d EBBs\n", ebb_state.stats.ebb_count); in do_count_loop()
96 ebb_state.stats.spurious++; in pmc4_ebb_callee()
100 ebb_state.stats.ebb_count++; in pmc4_ebb_callee()
Dregs_access_pmccext_test.c38 while (ebb_state.stats.ebb_count < 1) in regs_access_pmccext()
44 FAIL_IF(ebb_state.stats.ebb_count == 0); in regs_access_pmccext()
Dclose_clears_pmcc_test.c37 while (ebb_state.stats.ebb_count < 1) in close_clears_pmcc()
43 FAIL_IF(ebb_state.stats.ebb_count == 0); in close_clears_pmcc()
Dcycles_test.c37 while (ebb_state.stats.ebb_count < 10) { in cycles()
49 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles()
Dlost_exception_test.c53 while (ebb_state.stats.ebb_count < 1000000) { in test_body()
85 FAIL_IF(ebb_state.stats.ebb_count == 0); in test_body()
Debb_on_willing_child_test.c34 while (ebb_state.stats.ebb_count < 20) { in victim_child()
43 FAIL_IF(ebb_state.stats.ebb_count == 0); in victim_child()
Dmulti_counter_test.c65 while (ebb_state.stats.ebb_count < 50) { in multi_counter()
78 FAIL_IF(ebb_state.stats.ebb_count == 0); in multi_counter()
Dmulti_ebb_procs_test.c68 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_child()