aboutsummaryrefslogtreecommitdiffstats
path: root/cpurelax.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpurelax.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/cpurelax.c b/cpurelax.c
new file mode 100644
index 0000000..f2eacf0
--- /dev/null
+++ b/cpurelax.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <time.h>
+
+int main(int argc, char *argv[]) {
+
+while(1){
+cpu_relax();
+
+}
+
+ return 0;
+}