blob: cd2c8e69769e7028be96c3b552902212cac6b654 [file] [log] [blame]
Colm Donelana21620d2019-10-11 13:09:49 +01001//
Jim Flynnbbfe6032020-07-20 16:57:44 +01002// Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
Colm Donelana21620d2019-10-11 13:09:49 +01003// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Colm Donelana21620d2019-10-11 13:09:49 +01008#include "GatordMockService.hpp"
Colm Donelanb682d842019-10-16 12:24:20 +01009#include <string>
Colm Donelana21620d2019-10-11 13:09:49 +010010
11namespace armnn
12{
13
14namespace 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.
22class CommandFileParser
23{
24public:
25 void ParseFile(std::string CommandFile, GatordMockService& mockService);
26};
27
Colm Donelanb682d842019-10-16 12:24:20 +010028} // namespace gatordmock
29} // namespace armnn