aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/IConsumer.hpp
blob: f00f17458b6c26cf9a4a491865141d74d2dac654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Copyright © 2020 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

namespace armnn
{

namespace profiling
{

class IConsumer
{
public:
    virtual ~IConsumer() {}

    /// Set a "ready to read" flag in the buffer to notify the reading thread to start reading it.
    virtual void SetReadyToRead() = 0;
};

} // namespace profiling

} // namespace armnn