diff options
Diffstat (limited to 'src/profiling/IProfilingService.hpp')
-rw-r--r-- | src/profiling/IProfilingService.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/profiling/IProfilingService.hpp b/src/profiling/IProfilingService.hpp new file mode 100644 index 0000000000..7f3ff70062 --- /dev/null +++ b/src/profiling/IProfilingService.hpp @@ -0,0 +1,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 + |