mirror of
https://github.com/ish-app/ish.git
synced 2026-01-18 13:57:29 +00:00
13 lines
240 B
C
13 lines
240 B
C
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
#define nop() __asm__ volatile("")
|
|
|
|
int main() {
|
|
int loops = 100000000;
|
|
printf("looping %d times\n", loops);
|
|
for (int i = 0; i < loops; i++)
|
|
nop();
|
|
printf("done looping\n");
|
|
}
|