Lines Matching defs:instructions
29 static int do_count_loop(struct event *events, u64 instructions,
38 /* Run for 1M instructions */
39 thirty_two_instruction_loop_with_ll_sc(instructions >> 5, &dummy);
47 expected = instructions + overhead + (events[2].result.value * 10);
57 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead);
78 /* Count how many instructions it takes to do a null loop */
110 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "instructions");
130 printf("Overhead of null loop: %llu instructions\n", overhead);
132 /* Run for 1Mi instructions */
135 /* Run for 10Mi instructions */
138 /* Run for 100Mi instructions */
141 /* Run for 1Bi instructions */
144 /* Run for 16Bi instructions */
147 /* Run for 64Bi instructions */