aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/IProfilingConnectionFactory.hpp
blob: 173421092e64b5313a8aaddfd118f433aa5172e3 (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 <Runtime.hpp>

#include <memory>

namespace armnn
{

namespace profiling
{

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

    virtual ~IProfilingConnectionFactory() {}

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

} // namespace profiling

} // namespace armnn