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 | namespace armnn | ||||
9 | { | ||||
10 | |||||
11 | namespace profiling | ||||
12 | { | ||||
13 | |||||
14 | class IConsumer | ||||
15 | { | ||||
16 | public: | ||||
17 | virtual ~IConsumer() {} | ||||
18 | |||||
19 | /// Set a "ready to read" flag in the buffer to notify the reading thread to start reading it. | ||||
20 | virtual void SetReadyToRead() = 0; | ||||
21 | }; | ||||
22 | |||||
23 | } // namespace profiling | ||||
24 | |||||
25 | } // namespace armnn | ||||
26 |