blob: c2bbc70d8b4c6b118d4c3ea784caaa74572b728a (
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/IRuntime.hpp>
#include <memory>
namespace armnn
{
namespace profiling
{
class IProfilingConnectionFactory
{
public:
using ExternalProfilingOptions = IRuntime::CreationOptions::ExternalProfilingOptions;
using IProfilingConnectionPtr = std::unique_ptr<IProfilingConnection>;
virtual ~IProfilingConnectionFactory() {}
virtual IProfilingConnectionPtr GetProfilingConnection(const ExternalProfilingOptions& options) const = 0;
};
} // namespace profiling
} // namespace armnn
|