summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS/clients/WebSTONE/src/timefunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/JAWS/clients/WebSTONE/src/timefunc.h')
-rw-r--r--ACE/apps/JAWS/clients/WebSTONE/src/timefunc.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/ACE/apps/JAWS/clients/WebSTONE/src/timefunc.h b/ACE/apps/JAWS/clients/WebSTONE/src/timefunc.h
new file mode 100644
index 00000000000..884aeea82d9
--- /dev/null
+++ b/ACE/apps/JAWS/clients/WebSTONE/src/timefunc.h
@@ -0,0 +1,30 @@
+/* $Id$ */
+/**************************************************************************
+ * Copyright (C) 1995 Silicon Graphics, Inc. *
+ * *
+ * These coded instructions, statements, and computer programs were *
+ * developed by SGI for public use. If any changes are made to this code*
+ * please try to get the changes back to the author. Feel free to make *
+ * modifications and changes to the code and release it. *
+ * *
+ **************************************************************************/
+
+#ifndef __TIMEFUNC_H__
+#define __TIMEFUNC_H__
+
+extern double timevaldouble(struct timeval *);
+extern void doubletimeval(const double, struct timeval *);
+
+extern void addtime(struct timeval *, struct timeval *);
+extern void compdifftime(struct timeval *, struct timeval *, struct timeval *);
+extern void mintime(struct timeval *, struct timeval *);
+extern void maxtime(struct timeval *, struct timeval *);
+extern void avgtime(struct timeval *, int, struct timeval *);
+extern void variancetime(struct timeval *, double, int, struct timeval *);
+extern void stddevtime(struct timeval *, double, int, struct timeval *);
+
+extern void sqtime(struct timeval *, struct timeval *);
+
+extern double thruputpersec(const double, struct timeval *);
+
+#endif /* !__TIMEFUNC_H__ */