AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
PresentationMeasuring and Visualizing Energy Consumption within Software Code
1. Measuring and Visualizing Energy
Consumption within Software
Code
Tiago Carção
University of Minho, Braga, Portugal
Supervisors:
João Saraiva
Jácome Cunha
Graduate Consortium - VL/HCC 2014
2. Do the developers concern
themselves with energy consumption
during the development process?
How can we display that information
to the developers?
What type of information should be
presented to the developers?
11. How to adapt the SFL model for Energy Leak detection?
What data to collect from the code execution?
Decide what is a energy leak?
5
12. int first = 0, second = 1, next, c;
for ( c = 0 ; c < number; c++ ) {
if ( c <= 1 )
next = number;
else {
next = first + second;
first = second;
second = next;
}
}
int fibonacciCalc(int number) {
return next;
}
Source code instrumentation
6
13. #GET TIME & START MEASURING
int first = 0, second = 1, next, c;
for ( c = 0 ; c < number; c++ ) {
if ( c <= 1 )
next = number;
else {
next = first + second;
first = second;
second = next;
}
}
int fibonacciCalc(int number) {
return next;
}
#GET TIME & END MEASURING
Source code instrumentation
6
20. Do the developers concern
themselves with energy consumption
during the development process?
How can we display that information
to the developers?
What type of information should be
presented to the developers?
21. Measuring and Visualizing Energy
Consumption within Software
Code
Tiago Carção
University of Minho, Braga, Portugal
Supervisors:
João Saraiva
Jácome Cunha
Graduate Consortium - VL/HCC 2014