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

Moved example and updated readme

parent 27761278
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ This is a command line interface analysis tool that analyses the response time a
## 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.
The tool 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
```
......@@ -28,7 +28,7 @@ or
sro_analysis --in-file <FILE PATH>
```
where <FILE PATH> is the relative path to input json file.
where `<FILE PATH>` is the relative path to input json file.
### Writhing output to file
......@@ -40,12 +40,12 @@ or
```
sro_analysis --out-file <FILE PATH>
```
where <FILE PATH> is the relative path to output file.
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`.
An example of using the file `example/input1.json` as input and outputting the result to a new file `example/output1.txt`.
```
srp_analysis -i analysis.json -o analysed.txt
srp_analysis -i example/input1.json -o example/output1.txt
```
File moved
File moved
Overview
Total Util: 0.85
Tasks: T1 T2 T3
Priority: P(R1) = 2 P(T1) = 1 P(T3) = 3 P(R2) = 3 P(T2) = 2
Task Resources: T3:( R2 ) T2:( R2 R1 )
Priority: P(T1) = 1 P(T3) = 3 P(T2) = 2 P(R2) = 3 P(R1) = 2
Task Resources: T2:( R1 R2 ) T3:( R2 )
Analysis of T1
Response Time: 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment