70 likes | 206 Views
Energy-directed Test Suite Optimization. Ding Li,∗ Cagri Sahin,† James Clause,† and William G.J. Halfond∗ ∗University of Southern California † University of Delaware. Message. I n situ testing is necessary B ut will consume battery power Idea: optimize energy usage of test suite
E N D
Energy-directed Test Suite Optimization Ding Li,∗ Cagri Sahin,† James Clause,† and William G.J. Halfond∗ ∗University of Southern California † University of Delaware
Message • In situ testing is necessary • But will consume battery power • Idea: optimize energy usage of test suite • How much energy can we save? Ref Tech Earthquake Sensor 1
Message • We developed EDTSO • Achieved significant energy savings • Range of saving is 30% to 70% • EDTSO saves 42% more energy on average than traditional approaches 2
Overview of the process Test suite EDTSO Problem Builder Minimization Criteria Optimized test suite Energy usage data ILP solver Test-related data 3
Difficulties • How to maintain code coverage? • Encode as an ILP problem • ILP problem is NP-hard • Usually solvable in a reasonable amount of time • How to measure the energy consumption? • Use the LEAP platform with Android x86 4