Searched refs:do_count_loop (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | instruction_count_test.c | 25 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/ |
D | count_instructions.c | 29 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()
|