DD2-monitor/funcs.h

14 lines
228 B
C
Raw Normal View History

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