aboutsummaryrefslogtreecommitdiff
path: root/profiling/client/src/TimelinePacketWriterFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profiling/client/src/TimelinePacketWriterFactory.cpp')
-rw-r--r--profiling/client/src/TimelinePacketWriterFactory.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/profiling/client/src/TimelinePacketWriterFactory.cpp b/profiling/client/src/TimelinePacketWriterFactory.cpp
new file mode 100644
index 0000000000..78eda79ef0
--- /dev/null
+++ b/profiling/client/src/TimelinePacketWriterFactory.cpp
@@ -0,0 +1,23 @@
+//
+// Copyright © 2019 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#include "TimelinePacketWriterFactory.hpp"
+
+#include "SendTimelinePacket.hpp"
+
+namespace arm
+{
+
+namespace pipe
+{
+
+std::unique_ptr<ISendTimelinePacket> TimelinePacketWriterFactory::GetSendTimelinePacket() const
+{
+ return std::make_unique<SendTimelinePacket>(m_BufferManager);
+}
+
+} // namespace pipe
+
+} // namespace arm