Estimating Application Energy Usage in a Target Device
AssigneeMicrosoft Corporation
InventorsAman Kansal, Ranveer Chandra, Jie Liu, Paramvir Bahl
Life of this patent
Estimating the term…
Abstract
Embodiments provide implementations for estimating a test application's energy usage on a target device based on execution of the test application. Resource usage associated with the execution of the test application is measured. The measured resource usage is input into a power model of the target device to estimate the energy that the test application uses when executed on the target device. An emulation system is configured to execute the test application in a virtual execution environment using resource scaling and simulated target device application programming interfaces to substantially simulate the corresponding capabilities of the target device.
Claims20
A method, comprising:
- measuring resource usage associated with execution of a test application;
- and
- estimating, by one or more processors of an energy estimation service based on a power model of a target device and the resource usage associated with the execution of the test application, energy usage associated with executing the test application on the target device.
A system, comprising:
- a plurality of hardware components, including one or more processors;
- a virtual execution environment module executable by the one or more processors to execute a test application within a virtual execution environment, the virtual execution environment providing a plurality of simulated application programming interfaces of a target device that provides the test application with access to the plurality of hardware components;
- a measurement module executable by the one or more processors to measure resource usage of the plurality of hardware components attributable to execution of the test application within the virtual execution environment;
- an estimation module executable by the one or more processors to estimate, based on a power model of the target device and the resource usage, energy usage associated with execution of the test application by the target device;
- and
- a reporting module executable by the one or more processors to report the estimated energy usage.
Computer-readable storage media including a plurality of programming instructions executable by one or more processors of a computer device to:
- provide a virtual execution environment for execution of a test application based on scaled access to a plurality of hardware components of the computer device to simulate capabilities of a target device;
- measure resource usage of the plurality of hardware components attributable to the execution of the test application within the virtual execution environment;
- and
- estimate, based on a power model of the target device and the measured resource usage, an energy usage for executing the test application on the target device.
Dependencies are inferred from the claim text.