20.02
|
#include <ProfilingStateMachine.hpp>
Public Member Functions | |
ProfilingStateMachine () | |
ProfilingStateMachine (ProfilingState state) | |
ProfilingState | GetCurrentState () const |
void | TransitionToState (ProfilingState newState) |
void | Reset () |
bool | IsOneOfStates (ProfilingState state1) |
template<typename T , typename... Args> | |
bool | IsOneOfStates (T state1, T state2, Args... args) |
Definition at line 26 of file ProfilingStateMachine.hpp.
|
inline |
Definition at line 29 of file ProfilingStateMachine.hpp.
|
inline |
Definition at line 30 of file ProfilingStateMachine.hpp.
ProfilingState GetCurrentState | ( | ) | const |
Definition at line 31 of file ProfilingStateMachine.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), ProfilingService::ConfigureProfilingService(), ProfilingService::Disconnect(), ProfilingService::GetCurrentState(), PerJobCounterSelectionCommandHandler::operator()(), RequestCounterDirectoryCommandHandler::operator()(), ConnectionAcknowledgedCommandHandler::operator()(), PeriodicCounterSelectionCommandHandler::operator()(), ProfilingCurrentStateThreadImpl(), SendThread::Stop(), and ProfilingService::Update().
|
inline |
Definition at line 36 of file ProfilingStateMachine.hpp.
References armnn::IgnoreUnused().
Referenced by ProfilingStateMachine::TransitionToState().
|
inline |
Definition at line 43 of file ProfilingStateMachine.hpp.
void Reset | ( | ) |
Definition at line 88 of file ProfilingStateMachine.cpp.
References armnn::profiling::Uninitialised.
Referenced by ProfilingService::GetSendTimelinePacket().
void TransitionToState | ( | ProfilingState | newState | ) |
Definition at line 36 of file ProfilingStateMachine.cpp.
References armnn::profiling::Active, ProfilingStateMachine::IsOneOfStates(), armnn::profiling::NotConnected, armnn::profiling::Uninitialised, and armnn::profiling::WaitingForAck.
Referenced by BOOST_AUTO_TEST_CASE(), ProfilingService::GetSendTimelinePacket(), ConnectionAcknowledgedCommandHandler::operator()(), ProfilingCurrentStateThreadImpl(), ProfilingService::TransitionToState(), and ProfilingService::Update().