Searched refs:ebb_state (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb.c | 29 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 …]
|
D | back_to_back_ebbs_test.c | 33 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()
|
D | cycles_with_freeze_test.c | 32 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()
|
D | ebb.h | 18 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()
|
D | pmae_handling_test.c | 37 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()
|
D | pmc56_overflow_test.c | 25 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()
|
D | cycles_with_mmcr2_test.c | 56 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()
|
D | instruction_count_test.c | 45 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()
|
D | regs_access_pmccext_test.c | 38 while (ebb_state.stats.ebb_count < 1) in regs_access_pmccext() 44 FAIL_IF(ebb_state.stats.ebb_count == 0); in regs_access_pmccext()
|
D | close_clears_pmcc_test.c | 37 while (ebb_state.stats.ebb_count < 1) in close_clears_pmcc() 43 FAIL_IF(ebb_state.stats.ebb_count == 0); in close_clears_pmcc()
|
D | cycles_test.c | 37 while (ebb_state.stats.ebb_count < 10) { in cycles() 49 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles()
|
D | lost_exception_test.c | 53 while (ebb_state.stats.ebb_count < 1000000) { in test_body() 85 FAIL_IF(ebb_state.stats.ebb_count == 0); in test_body()
|
D | ebb_on_willing_child_test.c | 34 while (ebb_state.stats.ebb_count < 20) { in victim_child() 43 FAIL_IF(ebb_state.stats.ebb_count == 0); in victim_child()
|
D | multi_counter_test.c | 65 while (ebb_state.stats.ebb_count < 50) { in multi_counter() 78 FAIL_IF(ebb_state.stats.ebb_count == 0); in multi_counter()
|
D | multi_ebb_procs_test.c | 68 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_child()
|