SlideShare una empresa de Scribd logo
1 de 16
GreenDroid:A Tool for Analysing Power
Consumption in the Android Ecosystem
Marco Couto*¶, Jácome Cunha*§, João Paulo Fernandes‡,
Rui Pereira*¶, and João Saraiva*¶
1
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
* HASLab/INESC ¶ Universidade do Minho, Portugal
‡ RELEASE, Universidade da Beira Interior, Portugal
§ Universidade Nova de Lisboa, Portugal
{mcouto, ruipereira, jas}@di.uminho.pt, jacome@fct.unl.pt, jpf@di.ubi.pt
Going Green
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
2
+ =
Green Computing
 Caught the attention of many companies allowing them to save:
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
3
“close to 50% of the energy costs of an organization can be
attributed to the IT departments”
- [Harmon and Auseklis, 2009]
“up to 90% of energy used by ICT hardware can be attributed to
software”
- [Standard, 2013]
Green Software
 Reducing energy consumption through software analysis and optimization
 Problem:
 How to analyze
 How to interpret
 How to improve
 In mobile devices, the interest is quite large
 Battery lifetime is critical!
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
4
GreenDroid
 Power consumption model oriented
 Consumption per execution and program trace
 Predicts possible power-expensive methods
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
5
GreenDroid: Basic Workflow 6
Source
Code
Tests
Instrument
Source
Code
I
Tests
I
Build
APP
Tests
. Execution Trace
. Consumption
. Execution Time
*For each
Analyzer
Power Consumption
Model
Build
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
Power Consumption Model – Power Tutor
 Hardware components have states
 e.g., CPU has different percentages of usage
 Each state implies different consumptions
 Idea: assign consumption to each component state
 When monitoring consumption:
 Check the components’ states;
 Determine consumption using the power model
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
7
The Model as an API
 Power Tutor is an Android application
 Problem: cannot be invoked in other applications
 Solution: transform the model into an API
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
8
1. traceMethod()
2. config()
3. start()
4. stop()
Program trace
Initializes Power Consumption Model
Starts the power monitoring thread
Stops the power monitoring thread
Instrumentation: Source Code
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
9
Source
Code
public class C1{
...
public void m1(){
Estimator.traceMethod(“m1”, “C1”);
...
}
...
}
public class C1{
...
public void m1(){
...
}
...
}
Instrumentation: Tests
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
10
Tests
public class TestSuite1{
...
public void setUp(){
...
}
public void tearDown(){
...
}
...
...
}
public class TestSuite1{
...
public void setUp(){
Estimator.config(“package”,
_______android.os.Process.myUid(),
this.getContext());
Estimator.start();
...
}
public void tearDown(){
Estimator.stop()
...
}
...
...
}
Result Analysis
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
11
Power Consumption Graphics
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
12
Power Consumption Graphics
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
13
Power Consumption Graphics
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
14
 Method classifications and analysis
technique based on prior research
 “Detecting Anomalous Energy
Consumption in Android
Applications” – SBLP’2014
Conclusions
 GreenDroid Tool
 Analyze power consumption of Android apps
 Detect possible power leaks
 Plan to extend GreenDroid approach to analyze other applications
 Download at: https://github.com/greensoftwarelab/GreenDroid
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
15
GreenDroid:A Tool for Analysing Power
Consumption in the Android Ecosystem
Marco Couto*¶, Jácome Cunha*§, João Paulo Fernandes‡,
Rui Pereira*¶, and João Saraiva*¶
16
Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
* HASLab/INESC ¶ Universidade do Minho, Portugal
‡ RELEASE, Universidade da Beira Interior, Portugal
§ Universidade Nova de Lisboa, Portugal
{mcouto, ruipereira, jas}@di.uminho.pt, jacome@fct.unl.pt, jpf@di.ubi.pt

Más contenido relacionado

La actualidad más candente

Green droid ieee-micro
Green droid ieee-microGreen droid ieee-micro
Green droid ieee-microRAJENDRA469
 
TenLeversSmartEngg_ADe_01Nov2016
TenLeversSmartEngg_ADe_01Nov2016TenLeversSmartEngg_ADe_01Nov2016
TenLeversSmartEngg_ADe_01Nov2016Dr. Aloknath De
 
Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...
Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...
Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...Larry Smarr
 
prathap resume-14 professional
prathap resume-14 professionalprathap resume-14 professional
prathap resume-14 professionalPrathap Tatapudi
 
DWS15 - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...
DWS15  - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...DWS15  - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...
DWS15 - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...IDATE DigiWorld
 
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
 
Environmental building design performance modelling and simulation
Environmental building design performance modelling and simulationEnvironmental building design performance modelling and simulation
Environmental building design performance modelling and simulationnagham ali hasan
 
GREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center ApproachGREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center ApproachDr Sukhpal Singh Gill
 
Approach and future work on the formation of concept of smart grid allan p...
Approach and future work on the formation of concept of smart grid    allan p...Approach and future work on the formation of concept of smart grid    allan p...
Approach and future work on the formation of concept of smart grid allan p...Albert Yefimov
 

La actualidad más candente (19)

greendroid
greendroidgreendroid
greendroid
 
Greendroid ppt
Greendroid pptGreendroid ppt
Greendroid ppt
 
GreenDroid
GreenDroidGreenDroid
GreenDroid
 
GreenDroid
GreenDroidGreenDroid
GreenDroid
 
greendroid ppts
greendroid pptsgreendroid ppts
greendroid ppts
 
Green droid ieee-micro
Green droid ieee-microGreen droid ieee-micro
Green droid ieee-micro
 
Energy simulation & analysis
Energy simulation & analysisEnergy simulation & analysis
Energy simulation & analysis
 
TenLeversSmartEngg_ADe_01Nov2016
TenLeversSmartEngg_ADe_01Nov2016TenLeversSmartEngg_ADe_01Nov2016
TenLeversSmartEngg_ADe_01Nov2016
 
Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...
Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...
Project GreenLight Measuring the Energy Cost of Applications, Algorithms, and...
 
prathap resume-14 professional
prathap resume-14 professionalprathap resume-14 professional
prathap resume-14 professional
 
DWS15 - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...
DWS15  - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...DWS15  - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...
DWS15 - Future Digital Economy Forum - More on Moore's Law - Giorgio Cesana ...
 
Building Performance Modeling
Building Performance ModelingBuilding Performance Modeling
Building Performance Modeling
 
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
 
Environmental building design performance modelling and simulation
Environmental building design performance modelling and simulationEnvironmental building design performance modelling and simulation
Environmental building design performance modelling and simulation
 
GREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center ApproachGREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center Approach
 
Imagineering
ImagineeringImagineering
Imagineering
 
Approach and future work on the formation of concept of smart grid allan p...
Approach and future work on the formation of concept of smart grid    allan p...Approach and future work on the formation of concept of smart grid    allan p...
Approach and future work on the formation of concept of smart grid allan p...
 
Green Computing
Green ComputingGreen Computing
Green Computing
 
EED Software Products
EED Software  ProductsEED Software  Products
EED Software Products
 

Similar a GreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem

jStanley: Placing a Green Thumb on Java Collections
jStanley: Placing a Green Thumb on  Java CollectionsjStanley: Placing a Green Thumb on  Java Collections
jStanley: Placing a Green Thumb on Java CollectionsJácome Cunha
 
European Green IT Webinar 2014 - Erasmus Mundus Master PERCCOM
European Green IT Webinar 2014 - Erasmus Mundus Master PERCCOMEuropean Green IT Webinar 2014 - Erasmus Mundus Master PERCCOM
European Green IT Webinar 2014 - Erasmus Mundus Master PERCCOMGreenLabCenter
 
Energy prediction for greenhouse productions
Energy prediction for greenhouse productionsEnergy prediction for greenhouse productions
Energy prediction for greenhouse productionsStauffer Vincent
 
Green ICT-Calculation of carbon footprint of an academic facility
Green ICT-Calculation of carbon footprint of an academic facilityGreen ICT-Calculation of carbon footprint of an academic facility
Green ICT-Calculation of carbon footprint of an academic facilityKriti Doneria
 
Rui Pereira's PhD Pre-Thesis
Rui Pereira's PhD Pre-ThesisRui Pereira's PhD Pre-Thesis
Rui Pereira's PhD Pre-ThesisGreenLabAtDI
 
Marco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationMarco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationGreenLabAtDI
 
Air Pollution Prediction using Machine Learning
Air Pollution Prediction using Machine LearningAir Pollution Prediction using Machine Learning
Air Pollution Prediction using Machine LearningIRJET Journal
 
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
 
ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...
ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...
ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...ICT FOOTPRINT .eu
 
End User Development in the IoT: a Semantic Approach
End User Development in the IoT: a Semantic ApproachEnd User Development in the IoT: a Semantic Approach
End User Development in the IoT: a Semantic ApproachAlberto Monge Roffarello
 
Detecting Anomalous Energy Consumption in Android Applications
Detecting Anomalous Energy Consumption in Android ApplicationsDetecting Anomalous Energy Consumption in Android Applications
Detecting Anomalous Energy Consumption in Android ApplicationsGreenLabAtDI
 
GEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptx
GEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptxGEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptx
GEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptxGeetha982072
 
Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...Patricia Lago
 
High scalable applications with Python
High scalable applications with PythonHigh scalable applications with Python
High scalable applications with PythonGiuseppe Broccolo
 
Green Computing Seminar
Green Computing SeminarGreen Computing Seminar
Green Computing SeminarNikunj_Agrawal
 
Locating Energy Hotspots in Source Code
Locating Energy Hotspots in Source CodeLocating Energy Hotspots in Source Code
Locating Energy Hotspots in Source CodeGreenLabAtDI
 

Similar a GreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem (20)

jStanley: Placing a Green Thumb on Java Collections
jStanley: Placing a Green Thumb on  Java CollectionsjStanley: Placing a Green Thumb on  Java Collections
jStanley: Placing a Green Thumb on Java Collections
 
European Green IT Webinar 2014 - Erasmus Mundus Master PERCCOM
European Green IT Webinar 2014 - Erasmus Mundus Master PERCCOMEuropean Green IT Webinar 2014 - Erasmus Mundus Master PERCCOM
European Green IT Webinar 2014 - Erasmus Mundus Master PERCCOM
 
Energy prediction for greenhouse productions
Energy prediction for greenhouse productionsEnergy prediction for greenhouse productions
Energy prediction for greenhouse productions
 
Green ICT-Calculation of carbon footprint of an academic facility
Green ICT-Calculation of carbon footprint of an academic facilityGreen ICT-Calculation of carbon footprint of an academic facility
Green ICT-Calculation of carbon footprint of an academic facility
 
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
 
Marco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationMarco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis Presentation
 
Air Pollution Prediction using Machine Learning
Air Pollution Prediction using Machine LearningAir Pollution Prediction using Machine Learning
Air Pollution Prediction using Machine Learning
 
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
 
ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...
ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...
ICTFOOTPRINT.eu at Data Centre World - a web platform to help organisations i...
 
Green it
Green itGreen it
Green it
 
End User Development in the IoT: a Semantic Approach
End User Development in the IoT: a Semantic ApproachEnd User Development in the IoT: a Semantic Approach
End User Development in the IoT: a Semantic Approach
 
Detecting Anomalous Energy Consumption in Android Applications
Detecting Anomalous Energy Consumption in Android ApplicationsDetecting Anomalous Energy Consumption in Android Applications
Detecting Anomalous Energy Consumption in Android Applications
 
GEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptx
GEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptxGEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptx
GEETHAhshansbbsbsbhshnsnsn_INTERNSHIP.pptx
 
A test bed for smart energy education in the field of computer engineering
A test bed for smart energy education in the field of computer engineeringA test bed for smart energy education in the field of computer engineering
A test bed for smart energy education in the field of computer engineering
 
Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...
 
High scalable applications with Python
High scalable applications with PythonHigh scalable applications with Python
High scalable applications with Python
 
Minh nguyen 2021 (2)
Minh nguyen 2021 (2)Minh nguyen 2021 (2)
Minh nguyen 2021 (2)
 
Green Computing Seminar
Green Computing SeminarGreen Computing Seminar
Green Computing Seminar
 
Locating Energy Hotspots in Source Code
Locating Energy Hotspots in Source CodeLocating Energy Hotspots in Source Code
Locating Energy Hotspots in Source Code
 

Más de 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
 
Green Computing as an Engineering Discipline
Green Computing as an Engineering DisciplineGreen Computing as an Engineering Discipline
Green Computing as an Engineering DisciplineGreenLabAtDI
 
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
 

Más de GreenLabAtDI (8)

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
 
Green Computing as an Engineering Discipline
Green Computing as an Engineering DisciplineGreen Computing as an Engineering Discipline
Green Computing as an Engineering Discipline
 
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
 

Último

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
 
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
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfhenrik385807
 
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
 
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
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 
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
 
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
 
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
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
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
 
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
 
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
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyPooja Nehwal
 
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
 
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
 
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
 

Último (20)

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...
 
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
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
 
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
 
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 ...
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
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🔝
 
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...
 
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 ...
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
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
 
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 )
 
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
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
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
 
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...
 
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
 

GreenDroid: A Tool for Analysing Power Consumption in the Android Ecosystem

  • 1. GreenDroid:A Tool for Analysing Power Consumption in the Android Ecosystem Marco Couto*¶, Jácome Cunha*§, João Paulo Fernandes‡, Rui Pereira*¶, and João Saraiva*¶ 1 Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt * HASLab/INESC ¶ Universidade do Minho, Portugal ‡ RELEASE, Universidade da Beira Interior, Portugal § Universidade Nova de Lisboa, Portugal {mcouto, ruipereira, jas}@di.uminho.pt, jacome@fct.unl.pt, jpf@di.ubi.pt
  • 2. Going Green Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 2 + =
  • 3. Green Computing  Caught the attention of many companies allowing them to save: Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 3 “close to 50% of the energy costs of an organization can be attributed to the IT departments” - [Harmon and Auseklis, 2009] “up to 90% of energy used by ICT hardware can be attributed to software” - [Standard, 2013]
  • 4. Green Software  Reducing energy consumption through software analysis and optimization  Problem:  How to analyze  How to interpret  How to improve  In mobile devices, the interest is quite large  Battery lifetime is critical! Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 4
  • 5. GreenDroid  Power consumption model oriented  Consumption per execution and program trace  Predicts possible power-expensive methods Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 5
  • 6. GreenDroid: Basic Workflow 6 Source Code Tests Instrument Source Code I Tests I Build APP Tests . Execution Trace . Consumption . Execution Time *For each Analyzer Power Consumption Model Build Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt
  • 7. Power Consumption Model – Power Tutor  Hardware components have states  e.g., CPU has different percentages of usage  Each state implies different consumptions  Idea: assign consumption to each component state  When monitoring consumption:  Check the components’ states;  Determine consumption using the power model Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 7
  • 8. The Model as an API  Power Tutor is an Android application  Problem: cannot be invoked in other applications  Solution: transform the model into an API Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 8 1. traceMethod() 2. config() 3. start() 4. stop() Program trace Initializes Power Consumption Model Starts the power monitoring thread Stops the power monitoring thread
  • 9. Instrumentation: Source Code Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 9 Source Code public class C1{ ... public void m1(){ Estimator.traceMethod(“m1”, “C1”); ... } ... } public class C1{ ... public void m1(){ ... } ... }
  • 10. Instrumentation: Tests Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 10 Tests public class TestSuite1{ ... public void setUp(){ ... } public void tearDown(){ ... } ... ... } public class TestSuite1{ ... public void setUp(){ Estimator.config(“package”, _______android.os.Process.myUid(), this.getContext()); Estimator.start(); ... } public void tearDown(){ Estimator.stop() ... } ... ... }
  • 11. Result Analysis Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 11
  • 12. Power Consumption Graphics Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 12
  • 13. Power Consumption Graphics Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 13
  • 14. Power Consumption Graphics Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 14  Method classifications and analysis technique based on prior research  “Detecting Anomalous Energy Consumption in Android Applications” – SBLP’2014
  • 15. Conclusions  GreenDroid Tool  Analyze power consumption of Android apps  Detect possible power leaks  Plan to extend GreenDroid approach to analyze other applications  Download at: https://github.com/greensoftwarelab/GreenDroid Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt 15
  • 16. GreenDroid:A Tool for Analysing Power Consumption in the Android Ecosystem Marco Couto*¶, Jácome Cunha*§, João Paulo Fernandes‡, Rui Pereira*¶, and João Saraiva*¶ 16 Informatics ‘ 2016 – Poprad greenlab.di.uminho.pt * HASLab/INESC ¶ Universidade do Minho, Portugal ‡ RELEASE, Universidade da Beira Interior, Portugal § Universidade Nova de Lisboa, Portugal {mcouto, ruipereira, jas}@di.uminho.pt, jacome@fct.unl.pt, jpf@di.ubi.pt

Notas del editor

  1. Importante dizer que: A ferramenta Power Tutor não é nosso, e funciona como uma aplicação que monitoriza consumos de várias aplicações Os estados dos componentes de hardware são muitas vezes associados a uma aplicação (exemplo: sabendo que o CPU está a 80%, é possível saber quanta dessa percentagem se deve à aplicação X ou Y)
  2. Tests with consumptions above average (in the analyzed program) are considered excessive, and below average not excessive. Using a series of thresholds we identify the methods accordingly. For example red methods are those who appear in over 60% of excessive test cases, green in 0%, and yellow otherwise.