aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/IConsumer.hpp
blob: 7a7e5efc64944660da5dd80753498c7b45c2b3de (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 arm
{

namespace pipe
{

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 pipe

} // namespace arm