SlideShare a Scribd company logo
1 of 19
Download to read offline
Detecting Anomalous Energy 
Consumption in 
Android Applications 
GENTES-CIN, UFPE 
September 10, 2014 
(based on Marco Couto's Msc thesis) 
João Saraiva 
jas@di.uminho.pt 
http://di.uminho.pt/~jas
Green Software Lab @ PT 
X 
http://greenlab.di.uminho.pt/
Going Green 
+ = 
X
Green Computing 
• Caught the attention of many companies allowing 
them to save: 
X 
“close to 50% of the energy costs of an organization can be 
attributed to the IT departments” 
- [Harmon and Auseklis, 2009]
Green Computing – Greenness by IT 
X 
“up to 90% of energy used by ICT 
hardware can be attributed to 
software” 
- [Standard, 2013]
Green Computing– Greenness of IT 
X
Energy: a Sw Engineering Concern 
X 
Mining questions about software energy 
consumption 
- [Pinto et al., 2014]
Energy: A Sw Engineering Concern 
X 
Unfortunately, there are no techniques nor tools to support 
sw engineers analysing/improving their green software as 
they have to improve sw performance (runtime) 
- 
C: Debugger Java: Faul Localization Haskell: Heap Profiler
This Talk: 
1.The Android Power Tutor Consumption Model 
2.Energy Consumption in Android Apps Source Code 
3.Green-aware Classication of Source Code Methods 
4.GreenDroid: An Android Framework for Energy Proling 
5.PVE Research Questions 
X
The Android Power Tutor Comsumption Model 
X
Model: Dynamic Callibration and API 
X 
Calibration 
Model as an API
Apps Source Code Instrumentation 
X 
Android Testing Framework used to execute the instrumented 
Green-aware Source Code
Green-aware Classification of Source Code 
X 
Green Methods: These are the methods that have no interference in 
the anomalous energy consumptions. They are never invoked when 
a test of the application consumes more energy than the average. 
Red Methods: Every time they are invoked, the application has 
anomalous energy consumption. They can be invoked when the 
application has bellow the average energy consumption as well, but 
no more than 30% of the times. They are supposed to be the 
methods with bigger influence in the anomalous energy consumption. 
Yellow Methods: The methods that are invoked in other situations: 
mostly invoked when the application power consumption is bellow the 
average.
GreenDroid: Source Code Energy Profiler 
X
GreenDroid in Practice 
X 
Comsumption per second: 
Execution Time: 
Is faster greener?!
GreenDroid: Energy Smells 
X 
(We reused Gzoltar Fault Localization 
Framework)
Spetrum-based Energy Fault Localization 
X 
Tests 
Components 
t1 t2 t3 t4 t5 
1 
1 
1111 
1 
1100 
1 1 
1 1 1 
1 1 1 
1 1 
1 0 1 
1 0 1 
1 1 1 
0.3 
0.3 
0.3 
0.7 
0.7 
0.3 
1 0 1 0 1 
But, what is pass/fail for energy comsumption?!
PVE Research Questions: 
X 
1.When is faster/slower greener? 
(compiler optimizations, garbage colletion, etc) 
2.How to (better) adapt SFL for Green Computing? 
3.Green-aware Software Product Lines?
Detecting Anomalous Energy 
Consumption in 
Android Applications 
GENTES-CIN, 
UFPE 
September 10, 
2014 
João Saraiva 
jas@di.uminho.pt 
http://di.uminho.pt/~jas

More Related Content

What's hot

Intro to New Media Design | Asgmt 1 | Research and Slide File Setup
Intro to New Media Design | Asgmt 1 | Research and Slide File SetupIntro to New Media Design | Asgmt 1 | Research and Slide File Setup
Intro to New Media Design | Asgmt 1 | Research and Slide File SetupSarah Ramdhany
 
Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...
Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...
Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...Lewis Larsen
 
application of numerical method
application of numerical methodapplication of numerical method
application of numerical methodarifur rahman
 
Control on pollutation using Artifical intelligence
Control on pollutation using Artifical intelligence Control on pollutation using Artifical intelligence
Control on pollutation using Artifical intelligence Harshal Joshi
 
Technology Development and Commercialization at Argonne National Laboratory
Technology Development and Commercialization at Argonne National LaboratoryTechnology Development and Commercialization at Argonne National Laboratory
Technology Development and Commercialization at Argonne National Laboratoryasauers
 
Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1butest
 
Application of numerical method
Application of numerical methodApplication of numerical method
Application of numerical methodNayeem Rahman
 
The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...
The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...
The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...Larry Smarr
 
Live free or conserve hard AF ESOH Symposium
Live free or conserve hard AF ESOH Symposium Live free or conserve hard AF ESOH Symposium
Live free or conserve hard AF ESOH Symposium Jeffrey Riegle
 
Applications of Numerical Method
Applications of Numerical Method Applications of Numerical Method
Applications of Numerical Method MdOsmanAzizMinaj
 
Wireless Solar Battery
Wireless Solar BatteryWireless Solar Battery
Wireless Solar BatterySean Davenport
 
environmental scivis via dynamic and thematc mapping
environmental scivis via dynamic and thematc mappingenvironmental scivis via dynamic and thematc mapping
environmental scivis via dynamic and thematc mappingNeale Misquitta
 

What's hot (20)

Software training brochure
Software training brochureSoftware training brochure
Software training brochure
 
Design and Analysis of Wheel Rim with Spiral Flexures
Design and Analysis of Wheel Rim with Spiral FlexuresDesign and Analysis of Wheel Rim with Spiral Flexures
Design and Analysis of Wheel Rim with Spiral Flexures
 
Intro to New Media Design | Asgmt 1 | Research and Slide File Setup
Intro to New Media Design | Asgmt 1 | Research and Slide File SetupIntro to New Media Design | Asgmt 1 | Research and Slide File Setup
Intro to New Media Design | Asgmt 1 | Research and Slide File Setup
 
Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...
Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...
Lattice Energy LLC - NASA Project Document- Are Investigating LENRs for Power...
 
Uj 1
Uj 1Uj 1
Uj 1
 
application of numerical method
application of numerical methodapplication of numerical method
application of numerical method
 
Project Beeswax
Project BeeswaxProject Beeswax
Project Beeswax
 
Control on pollutation using Artifical intelligence
Control on pollutation using Artifical intelligence Control on pollutation using Artifical intelligence
Control on pollutation using Artifical intelligence
 
resume
resumeresume
resume
 
Technology Development and Commercialization at Argonne National Laboratory
Technology Development and Commercialization at Argonne National LaboratoryTechnology Development and Commercialization at Argonne National Laboratory
Technology Development and Commercialization at Argonne National Laboratory
 
Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1
 
Application of numerical method
Application of numerical methodApplication of numerical method
Application of numerical method
 
The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...
The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...
The Disruptive Transition to Intelligent, Secure, Low Carbon, and Climate Ada...
 
Live free or conserve hard AF ESOH Symposium
Live free or conserve hard AF ESOH Symposium Live free or conserve hard AF ESOH Symposium
Live free or conserve hard AF ESOH Symposium
 
Ae4102224236
Ae4102224236Ae4102224236
Ae4102224236
 
Alternate Renewable Energy Resources at Airports
Alternate Renewable Energy Resources at AirportsAlternate Renewable Energy Resources at Airports
Alternate Renewable Energy Resources at Airports
 
Applications of Numerical Method
Applications of Numerical Method Applications of Numerical Method
Applications of Numerical Method
 
e
ee
e
 
Wireless Solar Battery
Wireless Solar BatteryWireless Solar Battery
Wireless Solar Battery
 
environmental scivis via dynamic and thematc mapping
environmental scivis via dynamic and thematc mappingenvironmental scivis via dynamic and thematc mapping
environmental scivis via dynamic and thematc mapping
 

Viewers also liked

E-WASTE PRESENTED BY Prateek kumar rjit gwalior mp(8269262630)
 E-WASTE  PRESENTED BY Prateek kumar rjit gwalior mp(8269262630) E-WASTE  PRESENTED BY Prateek kumar rjit gwalior mp(8269262630)
E-WASTE PRESENTED BY Prateek kumar rjit gwalior mp(8269262630)Prateek Kumar
 
Flexible Electronic display ppt,VTU format
Flexible Electronic display ppt,VTU formatFlexible Electronic display ppt,VTU format
Flexible Electronic display ppt,VTU formatVinesh Gowda
 
3D Holographic Projection Technology
3D Holographic Projection Technology3D Holographic Projection Technology
3D Holographic Projection TechnologyShahid Shihabudeen
 
Recent technology in the field of computer science
Recent technology in the field of computer scienceRecent technology in the field of computer science
Recent technology in the field of computer scienceRamya SK
 
Chipolo technical seminar for ece
Chipolo technical seminar for eceChipolo technical seminar for ece
Chipolo technical seminar for ecemanikanta1339
 
Piezoelectricity : Think Locally, Act Globally
Piezoelectricity : Think Locally, Act GloballyPiezoelectricity : Think Locally, Act Globally
Piezoelectricity : Think Locally, Act GloballyZaahir Salam
 
wimax Ppt for seminar
wimax Ppt for seminarwimax Ppt for seminar
wimax Ppt for seminarPratik Anand
 
Best topics for seminar
Best topics for seminarBest topics for seminar
Best topics for seminarshilpi nagpal
 

Viewers also liked (16)

E-WASTE PRESENTED BY Prateek kumar rjit gwalior mp(8269262630)
 E-WASTE  PRESENTED BY Prateek kumar rjit gwalior mp(8269262630) E-WASTE  PRESENTED BY Prateek kumar rjit gwalior mp(8269262630)
E-WASTE PRESENTED BY Prateek kumar rjit gwalior mp(8269262630)
 
Mobile Cloning Technology
Mobile Cloning TechnologyMobile Cloning Technology
Mobile Cloning Technology
 
Flexible Electronic display ppt,VTU format
Flexible Electronic display ppt,VTU formatFlexible Electronic display ppt,VTU format
Flexible Electronic display ppt,VTU format
 
3D Holographic Projection Technology
3D Holographic Projection Technology3D Holographic Projection Technology
3D Holographic Projection Technology
 
Recent technology in the field of computer science
Recent technology in the field of computer scienceRecent technology in the field of computer science
Recent technology in the field of computer science
 
GreenDroid
GreenDroidGreenDroid
GreenDroid
 
Athira seminar
Athira seminarAthira seminar
Athira seminar
 
Greendroid ppt
Greendroid pptGreendroid ppt
Greendroid ppt
 
Chipolo technical seminar for ece
Chipolo technical seminar for eceChipolo technical seminar for ece
Chipolo technical seminar for ece
 
Introduction to pattern recognition
Introduction to pattern recognitionIntroduction to pattern recognition
Introduction to pattern recognition
 
Piezoelectricity : Think Locally, Act Globally
Piezoelectricity : Think Locally, Act GloballyPiezoelectricity : Think Locally, Act Globally
Piezoelectricity : Think Locally, Act Globally
 
wimax Ppt for seminar
wimax Ppt for seminarwimax Ppt for seminar
wimax Ppt for seminar
 
Paper battery
Paper batteryPaper battery
Paper battery
 
An atm with an eye
An atm with an eyeAn atm with an eye
An atm with an eye
 
greendroid
greendroidgreendroid
greendroid
 
Best topics for seminar
Best topics for seminarBest topics for seminar
Best topics for seminar
 

Similar to Detecting Anomalous Energy Consumption in Android Applications

Marco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationMarco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationGreenLabAtDI
 
An Improvement in Power Management in green Computing using Neural Networks
An Improvement in Power Management in green Computing using Neural NetworksAn Improvement in Power Management in green Computing using Neural Networks
An Improvement in Power Management in green Computing using Neural NetworksIOSR Journals
 
The Green Lab - Experimentation in Software Energy Efficiency (ICSE)
The Green Lab - Experimentation in Software Energy Efficiency (ICSE)The Green Lab - Experimentation in Software Energy Efficiency (ICSE)
The Green Lab - Experimentation in Software Energy Efficiency (ICSE)Giuseppe Procaccianti
 
The Influence of the Java Collection Framework on Overall Energy Consumption
The Influence of the Java Collection Framework on Overall Energy ConsumptionThe Influence of the Java Collection Framework on Overall Energy Consumption
The Influence of the Java Collection Framework on Overall Energy ConsumptionGreenLabAtDI
 
Green Computing as an Engineering Discipline
Green Computing as an Engineering DisciplineGreen Computing as an Engineering Discipline
Green Computing as an Engineering DisciplineGreenLabAtDI
 
EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...
EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...
EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...ijait
 
Greening Your Nonprofit's IT: How to Save the Environment and Money
Greening Your Nonprofit's IT: How to Save the Environment and MoneyGreening Your Nonprofit's IT: How to Save the Environment and Money
Greening Your Nonprofit's IT: How to Save the Environment and Money501 Tech NYC
 
GreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem
GreenDroid: A Tool for Analysing Power Consumption in the Android EcosystemGreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem
GreenDroid: A Tool for Analysing Power Consumption in the Android EcosystemGreenLabAtDI
 
Rui Pereira's PhD Pre-Thesis
Rui Pereira's PhD Pre-ThesisRui Pereira's PhD Pre-Thesis
Rui Pereira's PhD Pre-ThesisGreenLabAtDI
 
A refined solution to classical unit commitment
A refined solution to classical unit commitmentA refined solution to classical unit commitment
A refined solution to classical unit commitmenteSAT Publishing House
 
Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)
Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)
Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)IRJET Journal
 
Independent Research Project: Green and Sustainable Computing For System Effi...
Independent Research Project: Green and Sustainable Computing For System Effi...Independent Research Project: Green and Sustainable Computing For System Effi...
Independent Research Project: Green and Sustainable Computing For System Effi...Carlson Holloway-Factory Jr.
 
Plant Disease Doctor App
Plant Disease Doctor AppPlant Disease Doctor App
Plant Disease Doctor AppIRJET Journal
 
Green indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in codeGreen indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in codeCAST
 
IT power management with Verdiem (english)
IT power management  with Verdiem (english)IT power management  with Verdiem (english)
IT power management with Verdiem (english)Juan Pablo Garcia
 

Similar to Detecting Anomalous Energy Consumption in Android Applications (20)

Marco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationMarco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis Presentation
 
An Improvement in Power Management in green Computing using Neural Networks
An Improvement in Power Management in green Computing using Neural NetworksAn Improvement in Power Management in green Computing using Neural Networks
An Improvement in Power Management in green Computing using Neural Networks
 
The Green Lab - Experimentation in Software Energy Efficiency (ICSE)
The Green Lab - Experimentation in Software Energy Efficiency (ICSE)The Green Lab - Experimentation in Software Energy Efficiency (ICSE)
The Green Lab - Experimentation in Software Energy Efficiency (ICSE)
 
Green it
Green itGreen it
Green it
 
The Influence of the Java Collection Framework on Overall Energy Consumption
The Influence of the Java Collection Framework on Overall Energy ConsumptionThe Influence of the Java Collection Framework on Overall Energy Consumption
The Influence of the Java Collection Framework on Overall Energy Consumption
 
Green Computing as an Engineering Discipline
Green Computing as an Engineering DisciplineGreen Computing as an Engineering Discipline
Green Computing as an Engineering Discipline
 
EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...
EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...
EDPAC : EVENT-DRIVEN POWER AWARE PERVASIVE COMPUTING FOR EFFECTIVE POWER UTIL...
 
S044089598
S044089598S044089598
S044089598
 
Greening Your Nonprofit's IT: How to Save the Environment and Money
Greening Your Nonprofit's IT: How to Save the Environment and MoneyGreening Your Nonprofit's IT: How to Save the Environment and Money
Greening Your Nonprofit's IT: How to Save the Environment and Money
 
GreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem
GreenDroid: A Tool for Analysing Power Consumption in the Android EcosystemGreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem
GreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem
 
Rui Pereira's PhD Pre-Thesis
Rui Pereira's PhD Pre-ThesisRui Pereira's PhD Pre-Thesis
Rui Pereira's PhD Pre-Thesis
 
PhD Pre-Thesis
PhD Pre-ThesisPhD Pre-Thesis
PhD Pre-Thesis
 
A refined solution to classical unit commitment
A refined solution to classical unit commitmentA refined solution to classical unit commitment
A refined solution to classical unit commitment
 
Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)
Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)
Agro-Farm Care – Crop, Fertilizer & Disease Prediction (Web App)
 
bianco final
bianco finalbianco final
bianco final
 
Independent Research Project: Green and Sustainable Computing For System Effi...
Independent Research Project: Green and Sustainable Computing For System Effi...Independent Research Project: Green and Sustainable Computing For System Effi...
Independent Research Project: Green and Sustainable Computing For System Effi...
 
D45021518
D45021518D45021518
D45021518
 
Plant Disease Doctor App
Plant Disease Doctor AppPlant Disease Doctor App
Plant Disease Doctor App
 
Green indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in codeGreen indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in code
 
IT power management with Verdiem (english)
IT power management  with Verdiem (english)IT power management  with Verdiem (english)
IT power management with Verdiem (english)
 

More from GreenLabAtDI

Let's Talk a Bit About: Green Software
Let's Talk a Bit About: Green SoftwareLet's Talk a Bit About: Green Software
Let's Talk a Bit About: Green SoftwareGreenLabAtDI
 
Products go Green: Worst-Case Energy Consumption in Software Product Lines
Products go Green: Worst-Case Energy Consumption in Software Product LinesProducts go Green: Worst-Case Energy Consumption in Software Product Lines
Products go Green: Worst-Case Energy Consumption in Software Product LinesGreenLabAtDI
 
Towards a Green Ranking for Programming Languages
Towards a Green Ranking for Programming LanguagesTowards a Green Ranking for Programming Languages
Towards a Green Ranking for Programming LanguagesGreenLabAtDI
 
Static Energy Prediction in Software: A Worst-Case Scenario Approach
Static Energy Prediction in Software: A Worst-Case Scenario ApproachStatic Energy Prediction in Software: A Worst-Case Scenario Approach
Static Energy Prediction in Software: A Worst-Case Scenario ApproachGreenLabAtDI
 
Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...
Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...
Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...GreenLabAtDI
 
Green Software Lab
Green Software LabGreen Software Lab
Green Software LabGreenLabAtDI
 
PresentationMeasuring and Visualizing Energy Consumption within Software Code
PresentationMeasuring and Visualizing Energy Consumption within Software CodePresentationMeasuring and Visualizing Energy Consumption within Software Code
PresentationMeasuring and Visualizing Energy Consumption within Software CodeGreenLabAtDI
 

More from GreenLabAtDI (7)

Let's Talk a Bit About: Green Software
Let's Talk a Bit About: Green SoftwareLet's Talk a Bit About: Green Software
Let's Talk a Bit About: Green Software
 
Products go Green: Worst-Case Energy Consumption in Software Product Lines
Products go Green: Worst-Case Energy Consumption in Software Product LinesProducts go Green: Worst-Case Energy Consumption in Software Product Lines
Products go Green: Worst-Case Energy Consumption in Software Product Lines
 
Towards a Green Ranking for Programming Languages
Towards a Green Ranking for Programming LanguagesTowards a Green Ranking for Programming Languages
Towards a Green Ranking for Programming Languages
 
Static Energy Prediction in Software: A Worst-Case Scenario Approach
Static Energy Prediction in Software: A Worst-Case Scenario ApproachStatic Energy Prediction in Software: A Worst-Case Scenario Approach
Static Energy Prediction in Software: A Worst-Case Scenario Approach
 
Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...
Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...
Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional L...
 
Green Software Lab
Green Software LabGreen Software Lab
Green Software Lab
 
PresentationMeasuring and Visualizing Energy Consumption within Software Code
PresentationMeasuring and Visualizing Energy Consumption within Software CodePresentationMeasuring and Visualizing Energy Consumption within Software Code
PresentationMeasuring and Visualizing Energy Consumption within Software Code
 

Recently uploaded

Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...NETWAYS
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...NETWAYS
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptssuser319dad
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrsaastr
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...Sheetaleventcompany
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxmohammadalnahdi22
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...NETWAYS
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝soniya singh
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...NETWAYS
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...NETWAYS
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxFamilyWorshipCenterD
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesPooja Nehwal
 

Recently uploaded (20)

Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.ppt
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
 

Detecting Anomalous Energy Consumption in Android Applications

  • 1. Detecting Anomalous Energy Consumption in Android Applications GENTES-CIN, UFPE September 10, 2014 (based on Marco Couto's Msc thesis) João Saraiva jas@di.uminho.pt http://di.uminho.pt/~jas
  • 2. Green Software Lab @ PT X http://greenlab.di.uminho.pt/
  • 4. Green Computing • Caught the attention of many companies allowing them to save: X “close to 50% of the energy costs of an organization can be attributed to the IT departments” - [Harmon and Auseklis, 2009]
  • 5. Green Computing – Greenness by IT X “up to 90% of energy used by ICT hardware can be attributed to software” - [Standard, 2013]
  • 7. Energy: a Sw Engineering Concern X Mining questions about software energy consumption - [Pinto et al., 2014]
  • 8. Energy: A Sw Engineering Concern X Unfortunately, there are no techniques nor tools to support sw engineers analysing/improving their green software as they have to improve sw performance (runtime) - C: Debugger Java: Faul Localization Haskell: Heap Profiler
  • 9. This Talk: 1.The Android Power Tutor Consumption Model 2.Energy Consumption in Android Apps Source Code 3.Green-aware Classication of Source Code Methods 4.GreenDroid: An Android Framework for Energy Proling 5.PVE Research Questions X
  • 10. The Android Power Tutor Comsumption Model X
  • 11. Model: Dynamic Callibration and API X Calibration Model as an API
  • 12. Apps Source Code Instrumentation X Android Testing Framework used to execute the instrumented Green-aware Source Code
  • 13. Green-aware Classification of Source Code X Green Methods: These are the methods that have no interference in the anomalous energy consumptions. They are never invoked when a test of the application consumes more energy than the average. Red Methods: Every time they are invoked, the application has anomalous energy consumption. They can be invoked when the application has bellow the average energy consumption as well, but no more than 30% of the times. They are supposed to be the methods with bigger influence in the anomalous energy consumption. Yellow Methods: The methods that are invoked in other situations: mostly invoked when the application power consumption is bellow the average.
  • 14. GreenDroid: Source Code Energy Profiler X
  • 15. GreenDroid in Practice X Comsumption per second: Execution Time: Is faster greener?!
  • 16. GreenDroid: Energy Smells X (We reused Gzoltar Fault Localization Framework)
  • 17. Spetrum-based Energy Fault Localization X Tests Components t1 t2 t3 t4 t5 1 1 1111 1 1100 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 0.3 0.3 0.3 0.7 0.7 0.3 1 0 1 0 1 But, what is pass/fail for energy comsumption?!
  • 18. PVE Research Questions: X 1.When is faster/slower greener? (compiler optimizations, garbage colletion, etc) 2.How to (better) adapt SFL for Green Computing? 3.Green-aware Software Product Lines?
  • 19. Detecting Anomalous Energy Consumption in Android Applications GENTES-CIN, UFPE September 10, 2014 João Saraiva jas@di.uminho.pt http://di.uminho.pt/~jas