aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/SendTimelinePacketTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/SendTimelinePacketTests.cpp')
-rw-r--r--src/profiling/test/SendTimelinePacketTests.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/profiling/test/SendTimelinePacketTests.cpp b/src/profiling/test/SendTimelinePacketTests.cpp
index 4045d263fa..9b144bb3d3 100644
--- a/src/profiling/test/SendTimelinePacketTests.cpp
+++ b/src/profiling/test/SendTimelinePacketTests.cpp
@@ -403,4 +403,15 @@ BOOST_AUTO_TEST_CASE(GetGuidsFromProfilingService)
BOOST_CHECK(dynamicGuid == expectedDynamicValue);
}
+BOOST_AUTO_TEST_CASE(GetTimelinePackerWriterFromProfilingService)
+{
+ armnn::Runtime::CreationOptions::ExternalProfilingOptions options;
+ options.m_EnableProfiling = true;
+ ProfilingService& profilingService = ProfilingService::Instance();
+ profilingService.ResetExternalProfilingOptions(options, true);
+
+ std::unique_ptr<ISendTimelinePacket> writer = profilingService.GetSendTimelinePacket();
+ BOOST_CHECK(writer != nullptr);
+}
+
BOOST_AUTO_TEST_SUITE_END()