SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

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
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxmohammadalnahdi22
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardsticksaastr
 
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
 
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
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
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
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfSenaatti-kiinteistöt
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
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
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
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
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
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
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar TrainingKylaCullinane
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsaqsarehman5055
 
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
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 

Kürzlich hochgeladen (20)

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
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
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...
 
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
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
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
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
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
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
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
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
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
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
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)...
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 

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

Hinweis der Redaktion

  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.