aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/IProfilingService.hpp
blob: 7f3ff700628ac2c6e432e3535fb2ff6fb54f0485 (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 © 2020 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include "CounterIdMap.hpp"
#include "Holder.hpp"
#include "ISendCounterPacket.hpp"
#include "ProfilingGuidGenerator.hpp"

namespace armnn
{

namespace profiling
{

class IProfilingService : public IProfilingGuidGenerator
{
public:
    virtual ~IProfilingService() {};
    virtual std::unique_ptr<ISendTimelinePacket> GetSendTimelinePacket() const = 0;
    virtual const ICounterMappings& GetCounterMappings() const = 0;
    virtual ISendCounterPacket& GetSendCounterPacket() = 0;
    virtual bool IsProfilingEnabled() const = 0;
    virtual CaptureData GetCaptureData() = 0;
};

} // namespace profiling

} // namespace armnn