diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-01-23 23:57:20 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-02-14 09:51:24 +0000 |
commit | 4c9ed1d974657b8b32c8a86239c105ca54b30be5 (patch) | |
tree | 9f3d59d9626f333e3626c61d17ab984692e43c86 /src/profiling/test/FileOnlyProfilingDecoratorTests.cpp | |
parent | d688e86c5edf19b2de556d198d6cb8688c6919da (diff) | |
download | armnn-4c9ed1d974657b8b32c8a86239c105ca54b30be5.tar.gz |
IVGCVSW-6708 Break Profiling Dependence on IRuntime ExternalProfilingOptions
Change-Id: I30a46f3368bbbf33019eac4fa1245f6ff69deacd
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test/FileOnlyProfilingDecoratorTests.cpp')
-rw-r--r-- | src/profiling/test/FileOnlyProfilingDecoratorTests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp b/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp index a96de66ecd..03767c0a2a 100644 --- a/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp +++ b/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp @@ -6,6 +6,7 @@ #include <armnnUtils/Filesystem.hpp> #include <ProfilingService.hpp> #include "ProfilingTestUtils.hpp" +#include "ProfilingOptionsConverter.hpp" #include "PrintPacketHeaderHandler.hpp" #include <Runtime.hpp> #include "TestTimelinePacketHandler.hpp" @@ -233,7 +234,8 @@ TEST_CASE("DumpOutgoingValidFileEndToEnd") // In order to flush the files we need to gracefully close the profiling service. options.m_ProfilingOptions.m_EnableProfiling = false; - GetProfilingService(&runtime).ResetExternalProfilingOptions(options.m_ProfilingOptions, true); + GetProfilingService(&runtime).ResetExternalProfilingOptions( + ConvertExternalProfilingOptions(options.m_ProfilingOptions), true); // The output file size should be greater than 0. CHECK(fs::file_size(tempPath) > 0); |