This commit is contained in:
tTh 2018-12-08 17:26:20 +01:00
parent e252d38b1d
commit 309effa6ce

11
funcs.h
View File

@ -1,8 +1,13 @@
/* /*
* funcs.c * funcs.c
*/ */
/* return an in random value in [0.999] */
int random1000(int mode); int random1000(int mode);
double dtime(void);
int get_loadavg(double *where); /* get the 'timeofday' as a double float */
double dtime(void);
/* only usable on standard Linux ! */
int get_loadavg(double where[]);