aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gensvm_timer.h')
-rw-r--r--include/gensvm_timer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/gensvm_timer.h b/include/gensvm_timer.h
new file mode 100644
index 0000000..a1b60a7
--- /dev/null
+++ b/include/gensvm_timer.h
@@ -0,0 +1,21 @@
+/**
+ * @file timer.h
+ * @author Gertjan van den Burg
+ * @date August, 2013
+ * @brief Header file for timer.c
+ *
+ * @details
+ * Function declaration for timer function used to measure computation time.
+ *
+ */
+
+#ifndef GENSVM_TIMER_H
+#define GENSVM_TIMER_H
+
+#include "globals.h"
+
+double elapsed_time(clock_t s_time, clock_t e_time);
+
+void get_time_string(char *buffer);
+
+#endif