From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_timer_8hpp_source.xhtml | 116 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 21.02/_timer_8hpp_source.xhtml (limited to '21.02/_timer_8hpp_source.xhtml') diff --git a/21.02/_timer_8hpp_source.xhtml b/21.02/_timer_8hpp_source.xhtml new file mode 100644 index 0000000000..1e91f2b94d --- /dev/null +++ b/21.02/_timer_8hpp_source.xhtml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + +ArmNN: include/armnn/utility/Timer.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Timer.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <chrono>
9 #include <iomanip>
10 
11 namespace armnn
12 {
13 
14 inline std::chrono::high_resolution_clock::time_point GetTimeNow()
15 {
16  return std::chrono::high_resolution_clock::now();
17 }
18 
19 inline std::chrono::duration<double, std::milli> GetTimeDuration(
20  std::chrono::high_resolution_clock::time_point start_time)
21 {
22  return std::chrono::duration<double, std::milli>(GetTimeNow() - start_time);
23 }
24 
25 }
std::chrono::duration< double, std::milli > GetTimeDuration(std::chrono::high_resolution_clock::time_point start_time)
Definition: Timer.hpp:19
+
std::chrono::high_resolution_clock::time_point GetTimeNow()
Definition: Timer.hpp:14
+
Copyright (c) 2021 ARM Limited and Contributors.
+
+
+ + + + -- cgit v1.2.1