summaryrefslogtreecommitdiff
path: root/src/caffe/layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/caffe/layer.cpp')
-rw-r--r--src/caffe/layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caffe/layer.cpp b/src/caffe/layer.cpp
index 677ed100..882b86aa 100644
--- a/src/caffe/layer.cpp
+++ b/src/caffe/layer.cpp
@@ -20,7 +20,7 @@ unsigned long get_cur_time(void)
{
struct timespec tm;
- clock_gettime(CLOCK_MONOTONIC_COARSE, &tm);
+ clock_gettime(CLOCK_MONOTONIC, &tm);
return (tm.tv_sec*1000000+tm.tv_nsec/1000);
}