Lines Matching defs:instructions
17 * Run a calibrated instruction loop and count instructions executed using
25 static int do_count_loop(struct event *event, uint64_t instructions,
37 thirty_two_instruction_loop(instructions >> 5);
46 expected = instructions + overhead;
51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead);
69 /* Count how many instructions it takes to do a null loop */
132 printf("Overhead of null loop: %lu instructions\n", overhead);
134 /* Run for 1M instructions */
137 /* Run for 10M instructions */
140 /* Run for 100M instructions */
143 /* Run for 1G instructions */
146 /* Run for 16G instructions */
149 /* Run for 64G instructions */
152 /* Run for 128G instructions */