diff --git a/srp_analysis/README.md b/srp_analysis/README.md index 901447cc991d728744cd7b00cc86aeae84ce5cfd..3ebaafe20696ac76fd78e2f85c0f53ffa23b5eb2 100644 --- a/srp_analysis/README.md +++ b/srp_analysis/README.md @@ -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 ``` diff --git a/srp_analysis/analysis.json b/srp_analysis/example/input1.json similarity index 100% rename from srp_analysis/analysis.json rename to srp_analysis/example/input1.json diff --git a/srp_analysis/analysed.json b/srp_analysis/example/output1.json similarity index 100% rename from srp_analysis/analysed.json rename to srp_analysis/example/output1.json diff --git a/srp_analysis/analysed.txt b/srp_analysis/example/output1.txt similarity index 88% rename from srp_analysis/analysed.txt rename to srp_analysis/example/output1.txt index 2afd1bd2022d8d7cc0051a7bfd5039461765dedc..6219ffaeeae3e637e50f63eacd5c743769fe1c44 100644 --- a/srp_analysis/analysed.txt +++ b/srp_analysis/example/output1.txt @@ -1,8 +1,8 @@ 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