8 #include <boost/format.hpp> 24 throw RuntimeException(boost::str(boost::format(
"Request Counter Directory Comand Handler invoked while in an " 29 if (!(packet.GetPacketFamily() == 0u && packet.GetPacketId() == 3u))
32 "received family = %1%, id = %2%")
33 % packet.GetPacketFamily()
34 % packet.GetPacketId()));
43 throw RuntimeException(boost::str(boost::format(
"Unknown profiling service state: %1%")
44 % static_cast<int>(currentState)));
ProfilingState GetCurrentState() const
Copyright (c) 2020 ARM Limited.
void operator()(const Packet &packet) override
virtual void SendCounterDirectoryPacket(const ICounterDirectory &counterDirectory)=0
Create and write a CounterDirectoryPacket from the parameters to the buffer.
virtual void SendTimelineMessageDirectoryPackage()=0
Create and write a TimelineMessageDirectoryPackage in the buffer.
constexpr char const * GetProfilingStateName(ProfilingState state)