Searched refs:ebb_state (Results 1 – 14 of 14) sorted by relevance
/tools/testing/selftests/powerpc/pmu/ebb/ |
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() 86 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 | ebb.c | 30 struct ebb_state ebb_state; variable 76 count = ebb_state.stats.pmc_count[PMC_INDEX(pmc)]; in ebb_check_count() 78 lower = ebb_state.stats.ebb_count * (sample_period - fudge); in ebb_check_count() 86 upper = ebb_state.stats.ebb_count * (sample_period + fudge); in ebb_check_count() 107 ebb_state.stats.spurious++; in standard_ebb_callee() 111 ebb_state.stats.ebb_count++; in standard_ebb_callee() 112 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in standard_ebb_callee() 115 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in standard_ebb_callee() 119 if (ebb_state.pmc_enable[PMC_INDEX(i)]) in standard_ebb_callee() 124 ebb_state.stats.no_overflow++; in standard_ebb_callee() [all …]
|
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() 77 while ((ebb_state.stats.ebb_count < 20 && !fc_cleared) || in cycles_with_freeze() 78 ebb_state.stats.ebb_count < 1) in cycles_with_freeze() 108 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_with_freeze()
|
D | pmc56_overflow_test.c | 25 ebb_state.stats.spurious++; in ebb_callee() 29 ebb_state.stats.ebb_count++; in ebb_callee() 71 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 | pmae_handling_test.c | 37 ebb_state.stats.spurious++; in syscall_ebb_callee() 41 ebb_state.stats.ebb_count++; in syscall_ebb_callee() 77 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 | 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 | cycles_with_mmcr2_test.c | 53 while ((ebb_state.stats.ebb_count < 20 && !bad_mmcr2) || in cycles_with_mmcr2() 54 ebb_state.stats.ebb_count < 1) in cycles_with_mmcr2() 78 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_with_mmcr2()
|
D | close_clears_pmcc_test.c | 35 while (ebb_state.stats.ebb_count < 1) in close_clears_pmcc() 41 FAIL_IF(ebb_state.stats.ebb_count == 0); in close_clears_pmcc()
|
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 | cycles_test.c | 35 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 | 51 while (ebb_state.stats.ebb_count < 1000000) { in test_body() 84 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() 45 FAIL_IF(ebb_state.stats.ebb_count == 0); in victim_child()
|
D | multi_counter_test.c | 63 while (ebb_state.stats.ebb_count < 50) { in multi_counter() 83 FAIL_IF(ebb_state.stats.ebb_count == 0); in multi_counter()
|
D | multi_ebb_procs_test.c | 70 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_child()
|