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/ProfilingConnectionDumpToFileDecoratorTests.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/ProfilingConnectionDumpToFileDecoratorTests.cpp')
-rw-r--r-- | src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp b/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp index 2da3f2d729..a851e940b4 100644 --- a/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp +++ b/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp @@ -78,7 +78,7 @@ TEST_SUITE("ProfilingConnectionDumpToFileDecoratorTests") { TEST_CASE("DumpIncomingInvalidFile") { - armnn::IRuntime::CreationOptions::ExternalProfilingOptions options; + ProfilingOptions options; options.m_IncomingCaptureFile = "/"; options.m_OutgoingCaptureFile = ""; ProfilingConnectionDumpToFileDecorator decorator(std::make_unique<DummyProfilingConnection>(), options, false); @@ -87,7 +87,7 @@ TEST_CASE("DumpIncomingInvalidFile") TEST_CASE("DumpIncomingInvalidFileIgnoreErrors") { - armnn::IRuntime::CreationOptions::ExternalProfilingOptions options; + ProfilingOptions options; options.m_IncomingCaptureFile = "/"; options.m_OutgoingCaptureFile = ""; ProfilingConnectionDumpToFileDecorator decorator(std::make_unique<DummyProfilingConnection>(), options, true); @@ -98,7 +98,7 @@ TEST_CASE("DumpIncomingValidFile") { fs::path fileName = armnnUtils::Filesystem::NamedTempFile("Armnn-DumpIncomingValidFileTest-TempFile"); - armnn::IRuntime::CreationOptions::ExternalProfilingOptions options; + ProfilingOptions options; options.m_IncomingCaptureFile = fileName.string(); options.m_OutgoingCaptureFile = ""; @@ -122,7 +122,7 @@ TEST_CASE("DumpIncomingValidFile") TEST_CASE("DumpOutgoingInvalidFile") { - armnn::IRuntime::CreationOptions::ExternalProfilingOptions options; + ProfilingOptions options; options.m_IncomingCaptureFile = ""; options.m_OutgoingCaptureFile = "/"; ProfilingConnectionDumpToFileDecorator decorator(std::make_unique<DummyProfilingConnection>(), options, false); @@ -131,7 +131,7 @@ TEST_CASE("DumpOutgoingInvalidFile") TEST_CASE("DumpOutgoingInvalidFileIgnoreErrors") { - armnn::IRuntime::CreationOptions::ExternalProfilingOptions options; + ProfilingOptions options; options.m_IncomingCaptureFile = ""; options.m_OutgoingCaptureFile = "/"; @@ -146,7 +146,7 @@ TEST_CASE("DumpOutgoingValidFile") { fs::path fileName = armnnUtils::Filesystem::NamedTempFile("Armnn-DumpOutgoingValidFileTest-TempFile"); - armnn::IRuntime::CreationOptions::ExternalProfilingOptions options; + ProfilingOptions options; options.m_IncomingCaptureFile = ""; options.m_OutgoingCaptureFile = fileName.string(); |