Home
last modified time | relevance | path

Searched refs:do_count_loop (Results 1 – 4 of 4) sorted by relevance

/linux/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() function
75 do_count_loop(event, 0, 0, false); in determine_overhead()
79 do_count_loop(event, 0, 0, false); in determine_overhead()
135 FAIL_IF(do_count_loop(&event, 0x100000, overhead, true)); in instruction_count()
138 FAIL_IF(do_count_loop(&event, 0xa00000, overhead, true)); in instruction_count()
141 FAIL_IF(do_count_loop(&event, 0x6400000, overhead, true)); in instruction_count()
144 FAIL_IF(do_count_loop(&event, 0x40000000, overhead, true)); in instruction_count()
147 FAIL_IF(do_count_loop(&event, 0x400000000, overhead, true)); in instruction_count()
150 FAIL_IF(do_count_loop(&event, 0x1000000000, overhead, true)); in instruction_count()
153 FAIL_IF(do_count_loop(&event, 0x2000000000, overhead, true)); in instruction_count()
/linux/tools/testing/selftests/powerpc/pmu/
A Dcount_instructions.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() function
79 do_count_loop(events, 0, 0, false); in determine_overhead()
83 do_count_loop(events, 0, 0, false); in determine_overhead()
116 FAIL_IF(do_count_loop(events, 1000000, overhead, true)); in test_body()
119 FAIL_IF(do_count_loop(events, 10000000, overhead, true)); in test_body()
122 FAIL_IF(do_count_loop(events, 100000000, overhead, true)); in test_body()
125 FAIL_IF(do_count_loop(events, 1000000000, overhead, true)); in test_body()
128 FAIL_IF(do_count_loop(events, 16000000000, overhead, true)); in test_body()
131 FAIL_IF(do_count_loop(events, 64000000000, overhead, true)); in test_body()
A Dcount_stcx_fail.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() function
84 do_count_loop(events, 0, 0, false); in determine_overhead()
88 do_count_loop(events, 0, 0, false); in determine_overhead()
133 FAIL_IF(do_count_loop(events, 1000000, overhead, true)); in test_body()
136 FAIL_IF(do_count_loop(events, 10000000, overhead, true)); in test_body()
139 FAIL_IF(do_count_loop(events, 100000000, overhead, true)); in test_body()
142 FAIL_IF(do_count_loop(events, 1000000000, overhead, true)); in test_body()
145 FAIL_IF(do_count_loop(events, 16000000000, overhead, true)); in test_body()
148 FAIL_IF(do_count_loop(events, 64000000000, overhead, true)); in test_body()
/linux/tools/testing/selftests/powerpc/security/
A Dspectre_v2.c25 static int do_count_loop(struct event *events, bool is_p9, s64 *miss_percent) in do_count_loop() function
164 FAIL_IF(do_count_loop(events, is_p9, &miss_percent)); in spectre_v2_test()

Completed in 6 milliseconds