aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/RequestCounterDirectoryCommandHandler.cpp
blob: f186add35795748e03188ccf10e1609155d37b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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