A (4.5mW) self (0.5mW) B(3mW) C(1mw) B1(1mW) B2(2mW) C1(1mw) PowerScope 4) SystemMoniter EnergyMonitor EnergyAnalyzer 46 Android 2.2

Similar documents
258 5) GPS 1 GPS 6) GPS DP 7) 8) 10) GPS GPS ) GPS Global Positioning System

組込みシステムシンポジウム2011 Embedded Systems Symposium 2011 ESS /10/20 FPGA Android Android Java FPGA Java FPGA Dalvik VM Intel Atom FPGA PCI Express DM

& Vol.5 No (Oct. 2015) TV 1,2,a) , Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Ro

HP cafe HP of A A B of C C Map on N th Floor coupon A cafe coupon B Poster A Poster A Poster B Poster B Case 1 Show HP of each company on a user scree

1 1 CodeDrummer CodeMusician CodeDrummer Fig. 1 Overview of proposal system c

IPSJ SIG Technical Report Vol.2014-CG-155 No /6/28 1,a) 1,2,3 1 3,4 CG An Interpolation Method of Different Flow Fields using Polar Inter

( ) [1] [4] ( ) 2. [5] [6] Piano Tutor[7] [1], [2], [8], [9] Radiobaton[10] Two Finger Piano[11] Coloring-in Piano[12] ism[13] MIDI MIDI 1 Fig. 1 Syst

MDD PBL ET 9) 2) ET ET 2.2 2), 1 2 5) MDD PBL PBL MDD MDD MDD 10) MDD Executable UML 11) Executable UML MDD Executable UML

IPSJ SIG Technical Report Vol.2009-DPS-141 No.20 Vol.2009-GN-73 No.20 Vol.2009-EIP-46 No /11/27 1. MIERUKEN 1 2 MIERUKEN MIERUKEN MIERUKEN: Spe

IPSJ SIG Technical Report Vol.2009-BIO-17 No /5/26 DNA 1 1 DNA DNA DNA DNA Correcting read errors on DNA sequences determined by Pyrosequencing

2. Twitter Twitter 2.1 Twitter Twitter( ) Twitter Twitter ( 1 ) RT ReTweet RT ReTweet RT ( 2 ) URL Twitter Twitter 140 URL URL URL 140 URL URL

1 Fig. 1 Extraction of motion,.,,, 4,,, 3., 1, 2. 2.,. CHLAC,. 2.1,. (256 ).,., CHLAC. CHLAC, HLAC. 2.3 (HLAC ) r,.,. HLAC. N. 2 HLAC Fig. 2

TCP/IP IEEE Bluetooth LAN TCP TCP BEC FEC M T M R M T 2. 2 [5] AODV [4]DSR [3] 1 MS 100m 5 /100m 2 MD 2 c 2009 Information Processing Society of

3_23.dvi

6 2. AUTOSAR 2.1 AUTOSAR AUTOSAR ECU OSEK/VDX 3) OSEK/VDX OS AUTOSAR AUTOSAR ECU AUTOSAR 1 AUTOSAR BSW (Basic Software) (Runtime Environment) Applicat

IPSJ SIG Technical Report Vol.2010-SLDM-144 No.50 Vol.2010-EMB-16 No.50 Vol.2010-MBL-53 No.50 Vol.2010-UBI-25 No /3/27 Twitter IME Twitte

2. CABAC CABAC CABAC 1 1 CABAC Figure 1 Overview of CABAC 2 DCT 2 0/ /1 CABAC [3] 3. 2 値化部 コンテキスト計算部 2 値算術符号化部 CABAC CABAC

1 Web [2] Web [3] [4] [5], [6] [7] [8] S.W. [9] 3. MeetingShelf Web MeetingShelf MeetingShelf (1) (2) (3) (4) (5) Web MeetingShelf

IPSJ SIG Technical Report Vol.2013-CE-122 No.16 Vol.2013-CLE-11 No /12/14 Android 1,a) 1 1 GPS LAN 2 LAN Android,,, Android, HTML5 LAN 1. ICT(I

IPSJ SIG Technical Report iphone iphone,,., OpenGl ES 2.0 GLSL(OpenGL Shading Language), iphone GPGPU(General-Purpose Computing on Graphics Proc

2). 3) 4) 1.2 NICTNICT DCRA Dihedral Corner Reflector micro-arraysdcra DCRA DCRA DCRA 3D DCRA PC USB PC PC ON / OFF Velleman K8055 K8055 K8055

28 Docker Design and Implementation of Program Evaluation System Using Docker Virtualized Environment

Lytro [11] The Franken Camera [12] 2.2 Creative Coding Community Creative Coding Community [13]-[19] Sketch Fork 2.3 [20]-[23] 3. ourcam 3.1 ou

1_26.dvi

B HNS 7)8) HNS ( ( ) 7)8) (SOA) HNS HNS 4) HNS ( ) ( ) 1 TV power, channel, volume power true( ON) false( OFF) boolean channel volume int

揃 Lag [hour] Lag [day] 35

IPSJ SIG Technical Report Vol.2016-CE-137 No /12/ e β /α α β β / α A judgment method of difficulty of task for a learner using simple

THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS TECHNICAL REPORT OF IEICE.

ディスプレイと携帯端末間の通信を実現する映像媒介通信技術

HASC2012corpus HASC Challenge 2010,2011 HASC2011corpus( 116, 4898), HASC2012corpus( 136, 7668) HASC2012corpus HASC2012corpus

23 Fig. 2: hwmodulev2 3. Reconfigurable HPC 3.1 hw/sw hw/sw hw/sw FPGA PC FPGA PC FPGA HPC FPGA FPGA hw/sw hw/sw hw- Module FPGA hwmodule hw/sw FPGA h

IPSJ SIG Technical Report Vol.2012-EMB-26 No /9/10 1,a) 1,b) 1,c) 1,d) 1,e) 1,f) 1,g) 5 3D HILS HILS An Integrated Driving Simulator for Interdi

IPSJ SIG Technical Report Vol.2012-CG-148 No /8/29 3DCG 1,a) On rigid body animation taking into account the 3D computer graphics came

IPSJ SIG Technical Report * Wi-Fi Survey of the Internet connectivity using geolocation of smartphones Yoshiaki Kitaguchi * Kenichi Nagami and Yutaka

IPSJ SIG Technical Report Vol.2014-MBL-70 No.20 Vol.2014-UBI-41 No /3/14 1,a) Yuko Hirabe 1,a) Mai Tsuda 1 Yutaka Arakawa 1 Keiichi Yasum

DEIM Forum 2009 B4-6, Str

Abstract 2000 IoT IoT : IoT,,,

DEIM Forum 2017 H2-2 Android LAN Android 1 Android LAN

IPSJ SIG Technical Report Secret Tap Secret Tap Secret Flick 1 An Examination of Icon-based User Authentication Method Using Flick Input for

& Vol.2 No (Mar. 2012) 1,a) , Bluetooth A Health Management Service by Cell Phones and Its Us

6_27.dvi

Vol.54 No (July 2013) [9] [10] [11] [12], [13] 1 Fig. 1 Flowchart of the proposed system. c 2013 Information

1 UD Fig. 1 Concept of UD tourist information system. 1 ()KDDI UD 7) ) UD c 2010 Information Processing S

IPSJ SIG Technical Report Vol.2015-ARC-215 No.7 Vol.2015-OS-133 No /5/26 Just-In-Time PG 1,a) 1, Just-In-Time VM Geyser Dalvik VM Caffei

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra

第62巻 第1号 平成24年4月/石こうを用いた木材ペレット

xx/xx Vol. Jxx A No. xx 1 Fig. 1 PAL(Panoramic Annular Lens) PAL(Panoramic Annular Lens) PAL (2) PAL PAL 2 PAL 3 2 PAL 1 PAL 3 PAL PAL 2. 1 PAL

Fig. 3 Flow diagram of image processing. Black rectangle in the photo indicates the processing area (128 x 32 pixels).

P2P Web Proxy P2P Web Proxy P2P P2P Web Proxy P2P Web Proxy Web P2P WebProxy i

Fig. 3 3 Types considered when detecting pattern violations 9)12) 8)9) 2 5 methodx close C Java C Java 3 Java 1 JDT Core 7) ) S P S

IPSJ SIG Technical Report Vol.2013-ARC-203 No /2/1 SMYLE OpenCL (NEDO) IT FPGA SMYLEref SMYLE OpenCL SMYLE OpenCL FPGA 1

P2P P2P peer peer P2P peer P2P peer P2P i

(MIRU2008) HOG Histograms of Oriented Gradients (HOG)

Vol.57 No (Mar. 2016) 1,a) , L3 CG VDI VDI A Migration to a Cloud-based Information Infrastructure to Support

IPSJ SIG Technical Report Vol.2010-GN-74 No /1/ , 3 Disaster Training Supporting System Based on Electronic Triage HIROAKI KOJIMA, 1 KU

IPSJ SIG Technical Report Vol.2013-GN-86 No.35 Vol.2013-CDS-6 No /1/17 1,a) 2,b) (1) (2) (3) Development of Mobile Multilingual Medical

,4) 1 P% P%P=2.5 5%!%! (1) = (2) l l Figure 1 A compilation flow of the proposing sampling based architecture simulation

IPSJ SIG Technical Report Vol.2012-HCI-149 No /7/20 1 1,2 1 (HMD: Head Mounted Display) HMD HMD,,,, An Information Presentation Method for Weara

A Feasibility Study of Direct-Mapping-Type Parallel Processing Method to Solve Linear Equations in Load Flow Calculations Hiroaki Inayoshi, Non-member

DPA,, ShareLog 3) 4) 2.2 Strino Strino STRain-based user Interface with tacticle of elastic Natural ObjectsStrino 1 Strino ) PC Log-Log (2007 6)

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

7,, i

16_.....E...._.I.v2006

Table 1. Assumed performance of a water electrol ysis plant. Fig. 1. Structure of a proposed power generation system utilizing waste heat from factori

ID 3) 9 4) 5) ID 2 ID 2 ID 2 Bluetooth ID 2 SRCid1 DSTid2 2 id1 id2 ID SRC DST SRC 2 2 ID 2 2 QR 6) 8) 6) QR QR QR QR

900 GPS GPS DGPS Differential GPS RTK-GPS Real Time Kinematic GPS 2) DGPS RTK-GPS GPS GPS Wi-Fi 3) RFID 4) M-CubITS 5) Wi-Fi PSP PlayStation Portable

1

Virtual Window System Virtual Window System Virtual Window System Virtual Window System Virtual Window System Virtual Window System Social Networking

情報処理学会研究報告 IPSJ SIG Technical Report Vol.2013-HPC-139 No /5/29 Gfarm/Pwrake NICT NICT 10TB 100TB CPU I/O HPC I/O NICT Gf

Galaxy Nexus Save Overall Analyze Settings Google, Swipe Speed Facebook LINE Speed (inch/s) Time PC! Android! OS OS

IPSJ SIG Technical Report Vol.2017-ARC-225 No.12 Vol.2017-SLDM-179 No.12 Vol.2017-EMB-44 No /3/9 1 1 RTOS DefensiveZone DefensiveZone MPU RTOS

TF-IDF TDF-IDF TDF-IDF Extracting Impression of Sightseeing Spots from Blogs for Supporting Selection of Spots to Visit in Travel Sat

1034 IME Web API Web API 1 IME Fig. 1 Suitable situations for context-aware IME. IME IME IME IME 1 GPS Web API Web API Web API Web )

IPSJ SIG Technical Report Vol.2011-EC-19 No /3/ ,.,., Peg-Scope Viewer,,.,,,,. Utilization of Watching Logs for Support of Multi-

知能と情報, Vol.30, No.5, pp

特-3.indd

IPSJ SIG Technical Report Vol.2013-HCI-152 No /3/13 1,a) 1,b) 2,c) / GPS Bluetooth(BT) WiFi BT WiFi 1. Bluetooth WiFi 1 / 1 2 a)

1 3DCG [2] 3DCG CG 3DCG [3] 3DCG 3 3 API 2 3DCG 3 (1) Saito [4] (a) 1920x1080 (b) 1280x720 (c) 640x360 (d) 320x G-Buffer Decaudin[5] G-Buffer D

IPSJ SIG Technical Report An Evaluation Method for the Degree of Strain of an Action Scene Mao Kuroda, 1 Takeshi Takai 1 and Takashi Matsuyama 1

<95DB8C9288E397C389C88A E696E6462>

IPSJ SIG Technical Report Vol.2010-NL-199 No /11/ treebank ( ) KWIC /MeCab / Morphological and Dependency Structure Annotated Corp

2 Fig D human model. 1 Fig. 1 The flow of proposed method )9)10) 2.2 3)4)7) 5)11)12)13)14) TOF 1 3 TOF 3 2 c 2011 Information

untitled

23_02.dvi

1: A/B/C/D Fig. 1 Modeling Based on Difference in Agitation Method artisoc[7] A D 2017 Information Processing

GPGPU

IPSJ SIG Technical Report , 2 Andorid Capture-A-Moment Capture-A-Moment Capturing System by SmartPhone to Record Real-Time Scene Kohei Takada,

Vol. 48 No. 4 Apr LAN TCP/IP LAN TCP/IP 1 PC TCP/IP 1 PC User-mode Linux 12 Development of a System to Visualize Computer Network Behavior for L

fiš„v8.dvi

AP AP AP AP AP AP AP( AP) AP AP( AP) AP AP Air Patrol[1] Air Patrol Cirond AP AP Air Patrol Senser Air Patrol Senser AP AP Air Patrol Senser AP

DEIM Forum 2012 E Web Extracting Modification of Objec

IPSJ SIG Technical Report Vol.2011-UBI-30 No /5/ , 1 1 Evaluation on Effect of Presenting False Information for Biological Information Vi

docomo Xperia(TM) ray SO-03C

1 1 tf-idf tf-idf i

Table 1. Reluctance equalization design. Fig. 2. Voltage vector of LSynRM. Fig. 4. Analytical model. Table 2. Specifications of analytical models. Fig

独立行政法人情報通信研究機構 Development of the Information Analysis System WISDOM KIDAWARA Yutaka NICT Knowledge Clustered Group researched and developed the infor

24312.dvi

GPS GPS Android GPS GPS Android 1 Android GPS Android Android GPS Android Android Android iphone Android SD GPS Android Android Android GPS SensorMana

Optical Lenses CCD Camera Laser Sheet Wind Turbine with med Diffuser Pitot Tube PC Fig.1 Experimental facility. Transparent Diffuser Double Pulsed Nd:

4.1 % 7.5 %

Transcription:

Android 1 2 2 4 3 3 AndroidOS 2 An Enegy Profiling for Android Application Syuhei Hiya, 1 Kenji Hisazumi, 1 Toru Ishihara, 1 Takeshi Kamiyama, 4 Tsuneo Nakanishi 1 and Fukuda Akirra 1 This paper proposes a method for profiling power consumption of applications that run on an Android OS. Many power analysis techniques require running actual system and/or large computational load to analyze the power consumption. Furthermore these approaches cannot figure out bottlenecks at the level of classes and methods since they can only analyze the system-wide power consumption. Our method has features that can calculate the power consumption based on lightweight linear model from resource consumption logs, and can analyze the power consumption more fine grain. This paper describes two ways to obtain the logs that are different types of invasive techniques, and clarifies trade-offs between accuracy and invasive about method for logging. 1. WEB 1) 2)3) 4) 5) Android Android OS Eclipse 2 6) 2 1 Dept. of EE and CS, School of Eng.,Kyushu Univ. 2 LSI System LSI Research Center, Kyushu Univ. 3 Graduate School of Information Science and Electrical Engineering, Kyushu Univ. 4 NTT Research Laboratories, NTT Docomo 1 c 2011 Information Processing Society of Japan

A (4.5mW) self (0.5mW) B(3mW) C(1mw) B1(1mW) B2(2mW) C1(1mw) 3 2 4 5 6 2. 2.1 PowerScope 4) SystemMoniter EnergyMonitor EnergyAnalyzer 46 Android 2.2 6) CPU OS CPU CPU 6% P estimate = C 0 + n C i P i (1) i=1 P estimate P i C i C 0 CPU CPU CPU WiFi C i 3. 15 10 5 0 1 4 7 10 13 CAMERA 3.1 FLASH WIFI GPS ログ取得機能 消費電力解析機能 消費電力表示機能 1 Fig. 1 Profiler Image 対象デバイス用の消費電力モデル式 1 3.2 (1) P i 1 2 c 2011 Information Processing Society of Japan

3.3 2 3 GPS 4 CPU WIFI CAMERA 2 Fig. 2 TopView GPS FLASH 8 7 6 ] 5 [ w 4 力電 3 2 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 時刻 [sec] 時刻 3 Fig. 3 Time Line CAMERA FLASH WIFI GPS CPU A (4.5mW) self (0.5mW) B(3mW) C(1mw) 3.4 B1(1mW) B2(2mW) C1(1mw) 4 Fig. 4 Call Tree CPU [mw] Wi-Fi [mw] 0.5 0 0 0.5 0.5 0 2 0 0 0.9 0.1 0 Flash [mw] 4 OS 4. Android Android 4.1 Android Eclipse 6) Nokia N810 Sony Ericsson Xperia Android 4.3 4.4 3 c 2011 Information Processing Society of Japan

CPU Wi-Fi Flash GPS 5 Wi-Fi Flash GPS 4.2 3.4 CPU Android hprof hprof gettimeofday() android.os.debug 2 /proc API 1 Linux /proc 4.3 OS 2 API 4.4 Android Logcat Logcat android.util Log Android SDK ADB(Android Debug Bridge) Android PC 4.3 /proc OS OS /proc /proc Linux Wi-Fi /proc/net/dev Flash /proc/diskstats OS OS 1 API OS s A(s A) A A = time(a) x s time(x) (2) OS time( ) 4.4 API gettimeofday API 4.3 OS 5 OS OS IP OS 4 c 2011 Information Processing Society of Japan

160000 140000 ] 120000 e t y b100000 [ 量信受線無 80000 60000 40000 20000 5. 0 0 5000 10000 15000 20000 25000 30000 35000 40000 時刻 [msec] 5.1 5 Fig. 5 amount of radio reception OS リソースログ メソッドリソースログ /proc gettimeofday API API API IO adb logcat /proc API API /proc /proc 2 1 /proc API 1 2 API /proc API X X /proc 1 2 1 /proc /proc 3000msec 5 www.google.com /proc /proc 500msec 5% 2 /proc /proc /proc /proc /proc 1 /proc Table 1 /proc acquisition interval and the Total Error [ms] 1[ ] 2[ ] 500 3.51 3.66 1000 3.66 2.25 2000 0.65 1.53 3000 0.69 0.43 5.2 5.2.1 /proc 2 /proc Table 2 /proc acquisition interval and the Allocation Error [ms] 500 2099537 1000 2322013 2000 3530099 3000 3948501 /proc /proc /proc 1000ms 500ms 400ms 300ms 200ms 100ms 6 100ms 1000ms 2.5 200[ms] 5 c 2011 Information Processing Society of Japan

3 API Table 3 The effect of API hooks on the application execution time [ms] [ms] 386 13581 ] s [ m 間 時行実 25000 23000 21000 19000 17000 15000 13000 11000 9000 7000 5000 0 200 400 600 800 1000 1200 /proc 取得周期 [ms] 6 /proc Fig. 6 /proc acquisition interval and application execution time API /proc 6. Android /proc API 2 /proc /proc API /proc /proc API /proc 5.2.2 API API 5.2.2 API 5 java.net HttpURLConnection http://www.google.co.jp API 35 /proc API API 616 13188[ms] API 21.4[ms] 5.3 /proc 1) Ye, W., Vijaykrishnan, N., Kandemir, M. and M.J.Irwin: The Design and Use of SimplePower: A Cycle-Accurate Enegy Estimation Tool, Proc. Design Automation Conference, pp.340 345 (2000). 2) L., T., Komarov, K. and Ellis: Energy estimation tools for the Palm, Modeling, Analysis and Simulation of Wireless and Mobile Systems (Boston, MA) (2000). 3) Sinha, A.: Jouletrack: A web based tool for soft - ware energy profiling, Design Automation Conf, pp.220 225 (2001). 4) Flinn, J. and Satyanarayanan: PowerScope: a tool for profiling the energy usage of mobile applications, Proceedings of the Second IEEE Workshop on Mobile Computing Systems and Applications, pp.2 10 (1999). 5) Joseph, R. and Martonosi, M.: Run-time Power Estimation in High-Performance Microprocessors, ISLPED, pp.135 140 (2001). 6) OS,.EMB,, pp.5-30 (2009). 6 c 2011 Information Processing Society of Japan