xref: /aosp_15_r20/external/armnn/profiling/client/src/ISendThread.hpp (revision 89c4ff92f2867872bb9e2354d150bf0c8c502810)
1 //
2 // Copyright © 2020 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "IProfilingConnection.hpp"
9 
10 namespace arm
11 {
12 
13 namespace pipe
14 {
15 
16 class ISendThread
17 {
18 public:
~ISendThread()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 pipe
29 
30 } // namespace arm
31 
32