20.02
|
#include <CommandHandlerRegistry.hpp>
#include <DirectoryCaptureCommandHandler.hpp>
#include <ProfilingService.hpp>
#include <GatordMockService.hpp>
#include <PeriodicCounterCaptureCommandHandler.hpp>
#include <StreamMetadataCommandHandler.hpp>
#include <TimelineDirectoryCaptureCommandHandler.hpp>
#include <test/ProfilingMocks.hpp>
#include <boost/cast.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/test/unit_test_suite.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (CounterCaptureHandlingTest) | |
BOOST_AUTO_TEST_CASE (GatorDMockEndToEnd) | |
BOOST_AUTO_TEST_CASE | ( | CounterCaptureHandlingTest | ) |
Definition at line 27 of file GatordMockTests.cpp.
References Version::GetEncodedValue(), PeriodicCounterCaptureCommandHandler::m_CounterCaptureValues, PeriodicCounterCaptureCommandHandler::m_CurrentPeriodValue, CounterCaptureValues::m_Uids, armnn::numeric_cast(), PacketVersionResolver::ResolvePacketVersion(), armnn::profiling::WriteUint16(), armnn::profiling::WriteUint32(), and armnn::profiling::WriteUint64().
BOOST_AUTO_TEST_CASE | ( | GatorDMockEndToEnd | ) |
Definition at line 106 of file GatordMockTests.cpp.
References armnn::profiling::Active, GatordMockService::BlockForOneClient(), BOOST_AUTO_TEST_SUITE_END(), BOOST_CHECK(), ICounterDirectory::GetCategories(), ICounterDirectory::GetCategoryCount(), ICounterDirectory::GetCounter(), ICounterDirectory::GetCounterCount(), ProfilingService::GetCounterDirectory(), ICounterDirectory::GetCounters(), ICounterDirectory::GetCounterSetCount(), ICounterDirectory::GetCounterSets(), ProfilingService::GetCurrentState(), ICounterDirectory::GetDeviceCount(), ICounterDirectory::GetDevices(), Version::GetEncodedValue(), ProfilingService::Instance(), GatordMockService::LaunchReceivingThread(), Counter::m_Class, Counter::m_CounterSetUid, Counter::m_Description, Counter::m_DeviceUid, IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling, Counter::m_Interpolation, Counter::m_Multiplier, Counter::m_Name, Counter::m_Units, armnn::profiling::NotConnected, GatordMockService::OpenListeningSocket(), options, profilingService, CommandHandlerRegistry::RegisterFunctor(), ProfilingService::ResetExternalProfilingOptions(), PacketVersionResolver::ResolvePacketVersion(), GatordMockService::SendConnectionAck(), armnn::profiling::Uninitialised, ProfilingService::Update(), GatordMockService::WaitForReceivingThread(), GatordMockService::WaitForStreamMetaData(), and armnn::profiling::WaitingForAck.