diff options
author | Jim Flynn <jim.flynn@arm.com> | 2019-10-24 18:07:44 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2019-10-25 12:26:00 +0100 |
commit | 8b20065e8e139901f09e2da1a761c6225048102a (patch) | |
tree | 39bff65b9ca07caff094585176fb576497fe42ae /src/profiling/ProfilingService.cpp | |
parent | 00f3aaf282c53b47f4cebfa4b29d7039da883bc1 (diff) | |
download | armnn-8b20065e8e139901f09e2da1a761c6225048102a.tar.gz |
IVGCVSW-4028 Add TimelinePacketWriterFactory to ProfilingService
Change-Id: I1baf6ff49fc591577efab8190352f2ae5a7dc5e5
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/ProfilingService.cpp')
-rw-r--r-- | src/profiling/ProfilingService.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp index 6122ed99c2..c4063a583c 100644 --- a/src/profiling/ProfilingService.cpp +++ b/src/profiling/ProfilingService.cpp @@ -251,6 +251,11 @@ ProfilingStaticGuid ProfilingService::GenerateStaticId(const std::string& str) return m_GuidGenerator.GenerateStaticId(str); } +std::unique_ptr<ISendTimelinePacket> ProfilingService::GetSendTimelinePacket() const +{ + return m_TimelinePacketWriterFactory.GetSendTimelinePacket(); +} + void ProfilingService::Initialize() { // Register a category for the basic runtime counters |