Skip to content

pokekarat/SRC_tool-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRC_tool for Nexus S (S-LCD model)

Requirement sw and hw installation:

1) VC# Ultimate 2012
2) Power meter (option: we use monsoon)
3) Nexus S (S-LCD version)
4) R software

Sample and parse subsystem workload statistics

1. Sample process

1.1 Install sample.o to "/data/local/tmp/" and then create a folder "stat" within "/data/local/tmp/" in Nexus S.
1.2 Run sample.o, e.g., ./data/local/tmp/sample x y. 
    x = index of save file, e.g., if x=1, then the save file, i.e., sample1.txt, will be saved in /stat/ directory. 
    y = Number of sample, e.g, 100.

2. Parsing process

After finishing sample subsystem workload statistics, the parsing step (i.e., to parse samplex.txt to raw_data_x.txt) is processed as follows:

2.1 Start parseApp (C#)
2.2 Fill in ADB path (where is your adb program), Root path (where you want to save), and Sample file index which is match to the sampleX.txt.
2.3 Press Parse button
2.4 A file "raw_data_x.txt" is created at the Root path. Later, you can integrate this data to your power trace data.

3. Analyzing asynchronous power consumption behavior

3.1 Download async_analysis.r
3.2 Specify 3 paths to 
    (1) raw_data_x.txt (line 15). 
    (2) trainModify.txt (line 177).
    (3) asyncTable.txt (line 182).
3.3 Run async_analysis.r to analyze file (1) and then generate file (2) and (3).
3.4 Use Eureqa (our use) to build a power model from (2).

4. Processing a subsystem power estimation

4.1 Download async_power_estimator.r: this is a function used with R language. it returns the power consumption of subsystem under test.
4.2 Specify asyncTable path (line 1).
4.3 Call the funciton "async_power_estimate" in the async_power_estimator.r for estimating power consumption caused by asynchronous power consumption behavior.
4.4 Done.

About

Smartphone power modeling tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors