From b0b802f979a647ace8676dfdda53f06416d3700b Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Wed, 11 Sep 2019 18:08:32 +0100 Subject: IVGCVSW-3856 Add Dependency breaking interface Change-Id: I74947e592332f0a0d239219097c98109e86ac1f2 Signed-off-by: Jim Flynn --- CMakeLists.txt | 1 + src/profiling/IPeriodicCounterCapture.hpp | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/profiling/IPeriodicCounterCapture.hpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 8262970319..f8ff91efcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -434,6 +434,7 @@ list(APPEND armnn_sources src/profiling/ProfilingConnectionFactory.cpp src/profiling/ProfilingConnectionFactory.hpp src/profiling/IBufferWrapper.hpp + src/profiling/IPeriodicCounterCapture.hpp src/profiling/ISendCounterPacket.hpp src/profiling/SendCounterPacket.hpp src/profiling/SendCounterPacket.cpp diff --git a/src/profiling/IPeriodicCounterCapture.hpp b/src/profiling/IPeriodicCounterCapture.hpp new file mode 100644 index 0000000000..93df9d2541 --- /dev/null +++ b/src/profiling/IPeriodicCounterCapture.hpp @@ -0,0 +1,21 @@ +// +// Copyright © 2019 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +namespace armnn +{ + +namespace profiling +{ +class IPeriodicCounterCapture +{ +public: + virtual void Start() = 0; + virtual ~IPeriodicCounterCapture() {}; +}; + +} // namespace profiling +} // namespace armnn \ No newline at end of file -- cgit v1.2.1