20.02
CommandFileParser.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2019 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
GatordMockService.hpp
"
9
#include <string>
10
11
namespace
armnn
12
{
13
14
namespace
gatordmock
15
{
16
17
/// This class parses a command file for the GatordMockService. The file contains one command per line.
18
/// Valid commands are: SET and WAIT.
19
///
20
/// SET: Will construct and send a PeriodicCounterSelection packet to enable a set of counters.
21
/// WAIT: Will pause for a set period of time to allow for data to be received.
22
class
CommandFileParser
23
{
24
public
:
25
void
ParseFile
(std::string CommandFile,
GatordMockService
& mockService);
26
};
27
28
}
// namespace gatordmock
29
}
// namespace armnn
armnn::gatordmock::CommandFileParser::ParseFile
void ParseFile(std::string CommandFile, GatordMockService &mockService)
Definition:
CommandFileParser.cpp:19
GatordMockService.hpp
armnn
Copyright (c) 2020 ARM Limited.
Definition:
00_introduction.dox:25
armnn::gatordmock::GatordMockService
A class that implements a Mock Gatord server.
Definition:
GatordMockService.hpp:37
armnn::gatordmock::CommandFileParser
This class parses a command file for the GatordMockService.
Definition:
CommandFileParser.hpp:22
tests
profiling
gatordmock
CommandFileParser.hpp
Generated on Fri Mar 13 2020 16:09:13 for ArmNN by
1.8.13