... | ... | @@ -21,12 +21,12 @@ In the project repo, **a config.txt file must be added in the root directory (R1 |
|
|
build = app2_compiling_building_commands
|
|
|
language = Java
|
|
|
```
|
|
|
* _dir_ (**R1a**)(Needed for all Analysis types) is the name root directory of the project
|
|
|
* _exec_ (**R1b**)(Needed for Full,Hotspots,Acceleration Analysis) corresponds to the command that executes the application. It is worth mentioning that for performing dynamic analysis, the Energy Toolbox needs to execute the application. Furthermore, when the user wants to analyse a project dynamically in order to have more accurate results, care must be taken that the application is terminated and not run indefinitely.
|
|
|
* _source_ (**R1c**)(Needed for all Analysis types) is the path to the source files that the user wants to analyse separated by commas.
|
|
|
* _include_dirs_ (**R1d**)(Needed for Static Energy Estimation Analysis) contains the paths to directories that have to be included in order to compile the source files separately (needed for static analysis)
|
|
|
* _build_ (**R1e**)(Needed for Full,Hotspots,Acceleration Analysis) includes the compiling and building commands. For C/C++ the building commands (either gcc commands or make) have to use gcc compiler with the **-g** debugging flag. All the paths to directories needed have also to be included using the **-I** flag.
|
|
|
* Finally, _language_ (**R1f**)(Needed for all Analysis types) is “Java” or “C/C++” for specifying the project’s programming language.
|
|
|
* _dir_ (**R1a**) is the name root directory of the project
|
|
|
* _exec_ (**R1b**) corresponds to the command that executes the application. It is worth mentioning that for performing dynamic analysis, the Energy Toolbox needs to execute the application. Furthermore, when the user wants to analyse a project dynamically in order to have more accurate results, care must be taken that the application is terminated and not run indefinitely.
|
|
|
* _source_ (**R1c**) is the path to the source files that the user wants to analyse separated by commas.
|
|
|
* _include_dirs_ (**R1d**) contains the paths to directories that have to be included in order to compile the source files separately (needed for static analysis)
|
|
|
* _build_ (**R1e**) includes the compiling and building commands. For C/C++ the building commands (either gcc commands or make) have to use gcc compiler with the **-g** debugging flag. All the paths to directories needed have also to be included using the **-I** flag.
|
|
|
* Finally, _language_ (**R1f**) is “Java” or “C/C++” for specifying the project’s programming language.
|
|
|
|
|
|
**Energy Consumption Estimation (Static analysis)**
|
|
|
|
... | ... | |