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

namespace profiling
{

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

    virtual ~IProfilingConnectionFactory() {}

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

} // namespace profiling

} // namespace armnn