aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/IProfilingConnectionFactory.hpp
blob: 1599914bac9b458cb42604369d18b64b0f045ff9 (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
32
33
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include "IProfilingConnection.hpp"

#include <armnn/profiling/ProfilingOptions.hpp>

#include <memory>

namespace arm
{

namespace pipe
{

class IProfilingConnectionFactory
{
public:
    using ExternalProfilingOptions = ProfilingOptions;
    using IProfilingConnectionPtr = std::unique_ptr<IProfilingConnection>;

    virtual ~IProfilingConnectionFactory() {}

    virtual IProfilingConnectionPtr GetProfilingConnection(const ProfilingOptions& options) const = 0;
};

} // namespace pipe

} // namespace arm