Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 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 armnn |
| 11 | { |
| 12 | |
| 13 | namespace profiling |
| 14 | { |
| 15 | |
| 16 | class ISendThread |
| 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 | |