repo.or.cz
/
aesalon.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
It has been a while since I last worked on Aesalon proper.
[aesalon.git]
/
tests
/
cpu_test.c
blob
291b56c644b08eaf3227ba760cc3f9888d0a29dc
1
#include <stdio.h>
2
#include <time.h>
3
4
int
main
(
int
argc
,
char
*
argv
[]) {
5
time_t
start
=
time
(
NULL
);
6
7
while
(
time
(
NULL
) < (
start
+
5
)) ;
8
sleep
(
5
);
9
start
=
time
(
NULL
);
10
while
(
time
(
NULL
) < (
start
+
5
)) ;
11
12
return
0
;
13
}