changeset 1729:e9dc25836520 draft

fix gettime
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Wed, 30 Oct 2013 19:31:05 +0900
parents 0ae49bff30e9
children 2e8931baef7f
files TaskManager/Fifo/gettime.h
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Fifo/gettime.h	Wed Oct 30 19:10:49 2013 +0900
+++ b/TaskManager/Fifo/gettime.h	Wed Oct 30 19:31:05 2013 +0900
@@ -9,8 +9,6 @@
 inline unsigned long long gettime() {
 
 	unsigned long long time = 0;
-#ifdef __CERIUM_FIFO__  // ??
-
 #ifndef __APPLE__
 	struct timespec ts;
 	clock_gettime(CLOCK_REALTIME, &ts);
@@ -18,9 +16,6 @@
 #else
     time = rdtsc();
 #endif
-
-
-#endif // __CERIUM_FIFO__
 	return time;
 
 }