From 80b7a8116d821aeae489086a403a6cdfd64d801a Mon Sep 17 00:00:00 2001
From: Alexandre Jesus <adbjesus@gmail.com>
Date: Fri, 16 Sep 2016 01:15:07 +0100
Subject: Add time measure

---
 include/structs.h | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'include')

diff --git a/include/structs.h b/include/structs.h
index cb1bca9..3b5c550 100644
--- a/include/structs.h
+++ b/include/structs.h
@@ -1,5 +1,8 @@
 #ifndef _STRUCTS_H
 #define _STRUCTS_H
+
+#include <time.h>
+
 struct item {
 	double p;
 	double w;
@@ -16,5 +19,6 @@ struct front_item {
 	struct item i;
 	struct front_item * next;
 	struct front_item * prev;
+  clock_t time;
 };
 #endif
-- 
cgit v1.2.3