Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 1 | // |
Jim Flynn | bbfe603 | 2020-07-20 16:57:44 +0100 | [diff] [blame] | 2 | // Copyright © 2019 Arm Ltd and Contributors. All rights reserved. |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 8 | #include "GatordMockService.hpp" |
Colm Donelan | b682d84 | 2019-10-16 12:24:20 +0100 | [diff] [blame] | 9 | #include <string> |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 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 | |
Colm Donelan | b682d84 | 2019-10-16 12:24:20 +0100 | [diff] [blame] | 28 | } // namespace gatordmock |
| 29 | } // namespace armnn |