... | @@ -12,7 +12,7 @@ The script can make predictions for any platform by utilizing the python script |
... | @@ -12,7 +12,7 @@ The script can make predictions for any platform by utilizing the python script |
|
|
|
|
|
The script energy_estimation.py can be executed as follows:
|
|
The script energy_estimation.py can be executed as follows:
|
|
```
|
|
```
|
|
python energy_estimation.py <fileout> <data1> <data2> <data3> <storefile>
|
|
`python energy_estimation.py <fileout> <data1> <data2> <data3> <storefile>`
|
|
```
|
|
```
|
|
where <fileout> is a random file that contains some temporary data about the source files of the application (useful for debugging), <data1>,<data2> and <data3> are files that contain data collected from a specific platform and <storefile> the file where the results of the energy predictions are stored.
|
|
where <fileout> is a random file that contains some temporary data about the source files of the application (useful for debugging), <data1>,<data2> and <data3> are files that contain data collected from a specific platform and <storefile> the file where the results of the energy predictions are stored.
|
|
<data2> contains the execution time and energy_consumption of each program in the training set. The execution time and energy_consumption of a specific program differ across platforms so there are different <data2> files for making predictions for each platform. In order for the user to add a new platform, the execution time and the energy consumption of the programs of the training-set in the specific new platform must be computed and included in the <data2> file.
|
|
<data2> contains the execution time and energy_consumption of each program in the training set. The execution time and energy_consumption of a specific program differ across platforms so there are different <data2> files for making predictions for each platform. In order for the user to add a new platform, the execution time and the energy consumption of the programs of the training-set in the specific new platform must be computed and included in the <data2> file.
|
... | | ... | |