diff options
author | Finn Williams <Finn.Williams@arm.com> | 2020-03-20 15:10:59 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-03-20 17:54:15 +0000 |
commit | cf2ad554502830804e991aca2e5b0741623119b2 (patch) | |
tree | 2148cdaf8d2f98b0fcad7f39ca5a7a92eab27206 /src/profiling/test/TimelineUtilityMethodsTests.cpp | |
parent | 586a9aac99312eb9cb304cbbd18cec46b9158e23 (diff) | |
download | armnn-cf2ad554502830804e991aca2e5b0741623119b2.tar.gz |
IVGCVSW-4589 Add call to SendWellKnownLabelsAndEventClasses
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ia42f962ba53d7684f5ad75f5b1b91e2d9f3a2f9c
Diffstat (limited to 'src/profiling/test/TimelineUtilityMethodsTests.cpp')
-rw-r--r-- | src/profiling/test/TimelineUtilityMethodsTests.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/profiling/test/TimelineUtilityMethodsTests.cpp b/src/profiling/test/TimelineUtilityMethodsTests.cpp index 5c738b670f..43a5b0a4f5 100644 --- a/src/profiling/test/TimelineUtilityMethodsTests.cpp +++ b/src/profiling/test/TimelineUtilityMethodsTests.cpp @@ -80,13 +80,10 @@ BOOST_AUTO_TEST_CASE(CreateTypedLabelTest) BOOST_AUTO_TEST_CASE(SendWellKnownLabelsAndEventClassesTest) { MockBufferManager mockBufferManager(1024); - std::unique_ptr<ISendTimelinePacket> sendTimelinePacket = std::make_unique<SendTimelinePacket>(mockBufferManager); - TimelineUtilityMethods timelineUtilityMethods(sendTimelinePacket); - - BOOST_CHECK_NO_THROW(timelineUtilityMethods.SendWellKnownLabelsAndEventClasses()); + ProfilingService profilingService; + SendTimelinePacket sendTimelinePacket(mockBufferManager); - // Commit all packets at once - timelineUtilityMethods.Commit(); + BOOST_CHECK_NO_THROW(TimelineUtilityMethods::SendWellKnownLabelsAndEventClasses(sendTimelinePacket)); // Get the readable buffer auto readableBuffer = mockBufferManager.GetReadableBuffer(); |