Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / ie_bridges / python / src / openvino / inference_engine / ie_api_impl.hpp
index 7bb2dd3..9297de6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 #include <vector>
 #include <set>
 
+
 #include <iostream>
 #include <algorithm>
 
 #include <sstream>
-#include <inference_engine.hpp>
+#include <chrono>
+#include "inference_engine.hpp"
+
+typedef std::chrono::high_resolution_clock Time;
+typedef std::chrono::nanoseconds ns;
 
 namespace InferenceEnginePython {
 struct IENetLayer {
@@ -111,7 +116,8 @@ struct IENetwork {
 
 struct InferRequestWrap {
     InferenceEngine::IInferRequest::Ptr request_ptr;
-
+    Time::time_point start_time;
+    double exec_time;
     void infer();
 
     void infer_async();