diff options
author | Roland McGrath <roland@redhat.com> | 1995-03-07 23:44:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-03-07 23:44:43 +0000 |
commit | ce40d6af9f8a3b2095f4e112c9f16b009deefe9b (patch) | |
tree | ae47a32751815a86213f7ae059811a30fa7a2df9 /loadtest.c | |
parent | 636435e5c25d39fc5d52edf936e8e7a410b31b1a (diff) | |
download | gunmake-ce40d6af9f8a3b2095f4e112c9f16b009deefe9b.tar.gz |
.
Diffstat (limited to 'loadtest.c')
-rw-r--r-- | loadtest.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/loadtest.c b/loadtest.c new file mode 100644 index 0000000..19b80f6 --- /dev/null +++ b/loadtest.c @@ -0,0 +1,31 @@ +extern volatile void exit (int); +extern double load_average (void); + +double max_load_average = -1; +unsigned int job_slots_used = 0; + + +int +main () +{ + printf ("load_average () = %.2f\n", load_average ()); + exit (0); +} + +void +error (char *fmt, ...) +{ + exit (1); +} + +void +perror_with_name (char *a, char *b) +{ + exit (1); +} + +void +wait_for_children (int i) +{ + return; +} |