Skip to content
Snippets Groups Projects
Commit 27761278 authored by Blinningjr's avatar Blinningjr
Browse files

Added readme

parent a9cc2552
No related branches found
No related tags found
No related merge requests found
# srp analysis
This is a command line interface analysis tool that analyses the response time and overall schedulability.
## Usage
This is a cli tool that will run an example if no input file is given, see the Reading input from file section bellow for help or run the following for help.
```
srp_analysis --help
```
or
```
srp_analysis -h
```
The output can be written to a file(see the "Writhing output to file" section bellow for help).
There is a `-j` or `--json` flag to output the data in json format.
### Reading input from file
Reading the input from file can be done by running one of the following commands.
```
sro_analysis -i <FILE PATH>
```
or
```
sro_analysis --in-file <FILE PATH>
```
where <FILE PATH> is the relative path to input json file.
### Writhing output to file
Writhing the output to file can be done by running one of the following commands.
```
sro_analysis -o <FILE PATH>
```
or
```
sro_analysis --out-file <FILE PATH>
```
where <FILE PATH> is the relative path to output file.
### Example
An example of using the file `analysis.json` as input and outputting the result to a new file `analysed.txt`.
```
srp_analysis -i analysis.json -o analysed.txt
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment