1 /**************************************************************************
2 * Copyright (C) 1995 Silicon Graphics, Inc. *
4 * These coded instructions, statements, and computer programs were *
5 * developed by SGI for public use. If any changes are made to this code*
6 * please try to get the changes back to the author. Feel free to make *
7 * modifications and changes to the code and release it. *
9 **************************************************************************/
11 #ifndef __TIMEFUNC_H__
12 #define __TIMEFUNC_H__
14 extern double timevaldouble(struct timeval
*);
15 extern void doubletimeval(const double, struct timeval
*);
17 extern void addtime(struct timeval
*, struct timeval
*);
18 extern void compdifftime(struct timeval
*, struct timeval
*, struct timeval
*);
19 extern void mintime(struct timeval
*, struct timeval
*);
20 extern void maxtime(struct timeval
*, struct timeval
*);
21 extern void avgtime(struct timeval
*, int, struct timeval
*);
22 extern void variancetime(struct timeval
*, double, int, struct timeval
*);
23 extern void stddevtime(struct timeval
*, double, int, struct timeval
*);
25 extern void sqtime(struct timeval
*, struct timeval
*);
27 extern double thruputpersec(const double, struct timeval
*);
29 #endif /* !__TIMEFUNC_H__ */