Lines Matching full:instructions
29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument
37 /* Run for 1M instructions */ in do_count_loop()
38 thirty_two_instruction_loop(instructions >> 5); in do_count_loop()
45 expected = instructions + overhead; in do_count_loop()
53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop()
73 /* Count how many instructions it takes to do a null loop */
99 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, "instructions"); in test_body()
113 printf("Overhead of null loop: %llu instructions\n", overhead); in test_body()
115 /* Run for 1Mi instructions */ in test_body()
118 /* Run for 10Mi instructions */ in test_body()
121 /* Run for 100Mi instructions */ in test_body()
124 /* Run for 1Bi instructions */ in test_body()
127 /* Run for 16Bi instructions */ in test_body()
130 /* Run for 64Bi instructions */ in test_body()