From 96becb7e4f5f510344c3850278a706d63a564fc4 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Tue, 16 Jun 2020 12:41:49 +0100 Subject: Revert "IVGCVSW-3726 Upload ArmNN Doxygen files" This reverts commit de36e4a9c299028e792c3a5bd99ad0816d806077. Signed-off-by: Jan Eilers Change-Id: Idbf20c12ea07583ca552d7cc7fb517fbadc73fff --- Documentation/_command_handler_8hpp_source.xhtml | 129 ----------------------- 1 file changed, 129 deletions(-) delete mode 100644 Documentation/_command_handler_8hpp_source.xhtml (limited to 'Documentation/_command_handler_8hpp_source.xhtml') diff --git a/Documentation/_command_handler_8hpp_source.xhtml b/Documentation/_command_handler_8hpp_source.xhtml deleted file mode 100644 index 09b8b48eb2..0000000000 --- a/Documentation/_command_handler_8hpp_source.xhtml +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - -ArmNN: src/profiling/CommandHandler.hpp Source File - - - - - - - - - - - - - - - - -
-
- - - - ArmNN - - - -
-
-  20.02 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
CommandHandler.hpp
-
-
-Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
11 
12 #include <atomic>
13 #include <thread>
14 
15 namespace armnn
16 {
17 
18 namespace profiling
19 {
20 
22 {
23 public:
24  CommandHandler(uint32_t timeout,
25  bool stopAfterTimeout,
26  CommandHandlerRegistry& commandHandlerRegistry,
27  PacketVersionResolver& packetVersionResolver)
28  : m_Timeout(timeout)
29  , m_StopAfterTimeout(stopAfterTimeout)
30  , m_IsRunning(false)
31  , m_KeepRunning(false)
32  , m_CommandThread()
33  , m_CommandHandlerRegistry(commandHandlerRegistry)
34  , m_PacketVersionResolver(packetVersionResolver)
35  {}
37 
38  void SetTimeout(uint32_t timeout) { m_Timeout.store(timeout); }
39  void SetStopAfterTimeout(bool stopAfterTimeout) { m_StopAfterTimeout.store(stopAfterTimeout); }
40 
41  void Start(IProfilingConnection& profilingConnection);
42  void Stop();
43  bool IsRunning() const { return m_IsRunning.load(); }
44 
45 private:
46  void HandleCommands(IProfilingConnection& profilingConnection);
47 
48  std::atomic<uint32_t> m_Timeout;
49  std::atomic<bool> m_StopAfterTimeout;
50  std::atomic<bool> m_IsRunning;
51  std::atomic<bool> m_KeepRunning;
52  std::thread m_CommandThread;
53 
54  CommandHandlerRegistry& m_CommandHandlerRegistry;
55  PacketVersionResolver& m_PacketVersionResolver;
56 };
57 
58 } // namespace profiling
59 
60 } // namespace armnn
-
void Start(IProfilingConnection &profilingConnection)
- -
Copyright (c) 2020 ARM Limited.
-
DataLayout::NHWC false
- - - - - -
void SetTimeout(uint32_t timeout)
- - -
void SetStopAfterTimeout(bool stopAfterTimeout)
-
CommandHandler(uint32_t timeout, bool stopAfterTimeout, CommandHandlerRegistry &commandHandlerRegistry, PacketVersionResolver &packetVersionResolver)
- -
-
- - - - -- cgit v1.2.1