21.05
|
#include <Filesystem.hpp>
#include <LabelsAndEventClasses.hpp>
#include <ProfilingService.hpp>
#include "ProfilingTestUtils.hpp"
#include "PrintPacketHeaderHandler.hpp"
#include <Runtime.hpp>
#include "TestTimelinePacketHandler.hpp"
#include <boost/test/unit_test.hpp>
#include <cstdio>
#include <sstream>
#include <sys/stat.h>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (TestFileOnlyProfiling) | |
BOOST_AUTO_TEST_CASE (DumpOutgoingValidFileEndToEnd) | |
BOOST_AUTO_TEST_CASE | ( | TestFileOnlyProfiling | ) |
Definition at line 38 of file FileOnlyProfilingDecoratorTests.cpp.
References CompareOutput(), IOutputSlot::Connect(), INetwork::Create(), RuntimeImpl::EnqueueWorkload(), armnn::error, armnn::Float32, RuntimeImpl::GetDeviceSpec(), TimelineModel::GetErrors(), IConnectableLayer::GetInputSlot(), RuntimeImpl::GetInputTensorInfo(), armnn::profiling::GetModelDescription(), IConnectableLayer::GetOutputSlot(), RuntimeImpl::GetOutputTensorInfo(), armnn::GetProfilingService(), GetSuitableBackendRegistered(), RuntimeImpl::LoadNetwork(), IRuntime::CreationOptions::ExternalProfilingOptions::m_CapturePeriod, IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling, IRuntime::CreationOptions::ExternalProfilingOptions::m_FileOnly, IRuntime::CreationOptions::ExternalProfilingOptions::m_LocalPacketHandlers, IRuntime::CreationOptions::m_ProfilingOptions, IRuntime::CreationOptions::ExternalProfilingOptions::m_TimelineEnabled, armnn::Optimize(), ProfilingService::ResetGuidGenerator(), armnn::Rsqrt, IOutputSlot::SetTensorInfo(), and armnn::Success.
BOOST_AUTO_TEST_CASE | ( | DumpOutgoingValidFileEndToEnd | ) |
Definition at line 154 of file FileOnlyProfilingDecoratorTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), IOutputSlot::Connect(), INetwork::Create(), RuntimeImpl::EnqueueWorkload(), armnn::Float32, RuntimeImpl::GetDeviceSpec(), IConnectableLayer::GetInputSlot(), RuntimeImpl::GetInputTensorInfo(), IConnectableLayer::GetOutputSlot(), RuntimeImpl::GetOutputTensorInfo(), armnn::GetProfilingService(), GetSuitableBackendRegistered(), RuntimeImpl::LoadNetwork(), IRuntime::CreationOptions::ExternalProfilingOptions::m_CapturePeriod, IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling, IRuntime::CreationOptions::ExternalProfilingOptions::m_FileOnly, IRuntime::CreationOptions::ExternalProfilingOptions::m_IncomingCaptureFile, IRuntime::CreationOptions::ExternalProfilingOptions::m_LocalPacketHandlers, IRuntime::CreationOptions::ExternalProfilingOptions::m_OutgoingCaptureFile, IRuntime::CreationOptions::m_ProfilingOptions, IRuntime::CreationOptions::ExternalProfilingOptions::m_TimelineEnabled, armnnUtils::Filesystem::NamedTempFile(), armnn::Optimize(), ProfilingService::ResetExternalProfilingOptions(), ProfilingService::ResetGuidGenerator(), armnn::Rsqrt, IOutputSlot::SetTensorInfo(), and armnn::Success.