DD2-monitor/funcs.h

14 lines
228 B
C
Raw Normal View History

2018-12-06 02:00:11 +11:00
/*
2018-12-09 03:26:20 +11:00
* funcs.c
2018-12-06 02:00:11 +11:00
*/
2018-12-09 03:26:20 +11:00
/* return an in random value in [0.999] */
2018-12-06 02:00:11 +11:00
int random1000(int mode);
2018-12-09 03:26:20 +11:00
/* get the 'timeofday' as a double float */
2018-12-06 03:58:55 +11:00
double dtime(void);
2018-12-09 03:26:20 +11:00
/* only usable on standard Linux ! */
int get_loadavg(double where[]);
2018-12-06 02:00:11 +11:00