Home
last modified time | relevance | path

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

/tools/testing/selftests/powerpc/pmu/ebb/
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()
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()
Debb.c30 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 …]
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()
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()
Dpmc56_overflow_test.c25 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()
Dpmae_handling_test.c37 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()
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.c53 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()
Dclose_clears_pmcc_test.c35 while (ebb_state.stats.ebb_count < 1) in close_clears_pmcc()
41 FAIL_IF(ebb_state.stats.ebb_count == 0); in close_clears_pmcc()
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()
Dcycles_test.c35 while (ebb_state.stats.ebb_count < 10) { in cycles()
49 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles()
Dlost_exception_test.c51 while (ebb_state.stats.ebb_count < 1000000) { in test_body()
84 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()
45 FAIL_IF(ebb_state.stats.ebb_count == 0); in victim_child()
Dmulti_counter_test.c63 while (ebb_state.stats.ebb_count < 50) { in multi_counter()
83 FAIL_IF(ebb_state.stats.ebb_count == 0); in multi_counter()
Dmulti_ebb_procs_test.c70 FAIL_IF(ebb_state.stats.ebb_count == 0); in cycles_child()