diff options
Diffstat (limited to 'src/profiling/RequestCounterDirectoryCommandHandler.cpp')
-rw-r--r-- | src/profiling/RequestCounterDirectoryCommandHandler.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/profiling/RequestCounterDirectoryCommandHandler.cpp b/src/profiling/RequestCounterDirectoryCommandHandler.cpp new file mode 100644 index 0000000000..f186add357 --- /dev/null +++ b/src/profiling/RequestCounterDirectoryCommandHandler.cpp @@ -0,0 +1,24 @@ +// +// Copyright © 2019 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#include "RequestCounterDirectoryCommandHandler.hpp" + +namespace armnn +{ + +namespace profiling +{ + +void RequestCounterDirectoryCommandHandler::operator()(const Packet& packet) +{ + BOOST_ASSERT(packet.GetLength() == 0); + + // Write packet to Counter Stream Buffer + m_SendCounterPacket.SendCounterDirectoryPacket(m_CounterDirectory); +} + +} // namespace profiling + +} // namespace armnn
\ No newline at end of file |