From 7bbdf9db051f40377a284a28375816e60349376d Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Thu, 24 Oct 2019 10:26:05 +0100 Subject: IVGCVSW-3950 Create SendTimelinePacket interface and class * Implemented ISendTimelinePacket interface and its implementation SendTimelinePacket * Implemented TimelinePacketWriterFactory * Implemented unit tests for SendTimelinePacket functions Signed-off-by: Sadik Armagan Change-Id: I0a47586437f99510394d4d94589dccfb397d38e5 --- src/profiling/TimelinePacketWriterFactory.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/profiling/TimelinePacketWriterFactory.cpp (limited to 'src/profiling/TimelinePacketWriterFactory.cpp') diff --git a/src/profiling/TimelinePacketWriterFactory.cpp b/src/profiling/TimelinePacketWriterFactory.cpp new file mode 100644 index 0000000000..b1de629fae --- /dev/null +++ b/src/profiling/TimelinePacketWriterFactory.cpp @@ -0,0 +1,23 @@ +// +// Copyright © 2019 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#include "TimelinePacketWriterFactory.hpp" + +#include "SendTimelinePacket.hpp" + +namespace armnn +{ + +namespace profiling +{ + +std::unique_ptr TimelinePacketWriterFactory::GetSendTimelinePacket() const +{ + return std::make_unique(m_BufferManager); +} + +} // namespace profiling + +} // namespace armnn -- cgit v1.2.1