From 51477ab274bbb40be259844bdaab9685f693b028 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 24 Jul 2017 23:40:23 +0000
Subject: [PATCH] Increased 2.3 times performance of Yolo on CPU by using OpenMP in both darknet_no_gpu and yolo_cpp_dll_no_gpu

---
 src/classifier.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/classifier.c b/src/classifier.c
index 586530a..fbfe5e7 100644
--- a/src/classifier.c
+++ b/src/classifier.c
@@ -6,7 +6,10 @@
 #include "assert.h"
 #include "classifier.h"
 #include "cuda.h"
-#include <sys/time.h>
+//#include <sys/time.h>
+#include <time.h>
+#include <winsock.h>
+#include "gettimeofday.h"
 
 #ifdef OPENCV
 #include "opencv2/highgui/highgui_c.h"

--
Gitblit v1.10.0