aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ISendThread.hpp
blob: af76a25c565b3307d9d9f462429a338009120c3c (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
27
28
29
30
31
//
// Copyright © 2020 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include "IProfilingConnection.hpp"

namespace arm
{

namespace pipe
{

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

    /// Start the thread
    virtual void Start(IProfilingConnection& profilingConnection) = 0;

    /// Stop the thread
    virtual void Stop(bool rethrowSendThreadExceptions = true) = 0;
};

} // namespace pipe

} // namespace arm