#include "cyccounter.h" #include int main(int argc, char *argv[]){ cycles start, stop; int i, n; scanf("%d", &n); start = read_cyccounter(); i = 0; loop: if(i >= n){ goto loopEnd; } i++; goto loop; loopEnd: stop = read_cyccounter(); printf("%llu\n", stop - start); return 0; }