Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
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()
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
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()
/external/linux-kselftest/tools/testing/selftests/powerpc/security/
Dspectre_v2.c25 static int do_count_loop(struct event *events, bool is_p9, s64 *miss_percent) in do_count_loop() function
161 FAIL_IF(do_count_loop(events, is_p9, &miss_percent)); in spectre_v2_test()