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