ArmNN
 21.11
ISendThread.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 
9 
10 namespace armnn
11 {
12 
13 namespace profiling
14 {
15 
17 {
18 public:
19  virtual ~ISendThread() {}
20 
21  /// Start the thread
22  virtual void Start(IProfilingConnection& profilingConnection) = 0;
23 
24  /// Stop the thread
25  virtual void Stop(bool rethrowSendThreadExceptions = true) = 0;
26 };
27 
28 } // namespace profiling
29 
30 } // namespace armnn
31 
virtual void Start(IProfilingConnection &profilingConnection)=0
Start the thread.
Copyright (c) 2021 ARM Limited and Contributors.
virtual void Stop(bool rethrowSendThreadExceptions=true)=0
Stop the thread.