aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ISendThread.hpp
blob: c5e05b183c4a808bf18bf609991e71b49f7b1ca1 (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 armnn
{

namespace profiling
{

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 profiling

} // namespace armnn