The Energy Aware COmputing Framework
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
codegen/devices
docs
examples
headers
lib
.gitignore
LICENSE
Makefile
doxygen.conf
readme.md

readme.md

EACOF

EACOF, the Energy Aware COmputing Framework, is a modular framework which provides a layer of abstraction between sources of energy data and the applications that exploit them, allowing developers to profile their code for energy consumption in a simple and portable manner.

Requirements

EACOF will currently run on Linux and OS X.

For the included demo methods of measuring energy to work, the requirements are:

Getting Started

To start, download or clone the repository. To quickly get things running, run:

  • make all

This will, as the name suggests, build everything needed to get started with EACOF. With everything built, there are three executables to run. They must be launched in the specified order.

  • ./examples/ca/ca
  • ./examples/provider/powerGadgetExample (OS X) OR ./examples/provider/batteryExample (Linux)
  • ./examples/consumer/consumerOSXExample (OS X) OR ./examples/consumer/consumerLinuxExample (Linux)

This will first set up a central node for EACOF. It will then start a method of measuring energy data. Finally, it will start a program which uses the energy data.

Why use EACOF?

Portable devices - laptops, phones, tablets - are often restricted by battery capacity. A battery can hold a limited amount of energy, and once it runs out, charging needs to occur to continue use of the device. While changes to hardware can same some energy, there is a greater potential for energy saving when the requirements of software are considered. This is because control of the computation ultimately lies with the software and algorithms running on the hardware.

EACOF can help in several ways.

  • It provides access to concrete numbers about energy consumption. This allows code to be profiled, making it possible to know exactly where energy is being used.
  • It separates the reading of energy data from the collection. Traditional methods of measuring energy consumption tightly tie the method of energy measurement into the application. By separating the tasks of gathering and utilisation of data, EACOF simplifies the task of using multiple sources of energy data.
  • It allows applications to adapt at run-time based on current energy consumption. By making energy consumption data available in real-time, EACOF enables applications to adapt based on a combination of context and energy consumption to provide a better user experience. For example, an EACOF-aware video player may intelligently adapt based on energy consumption readings to ensure a video will complete before the battery runs out.

Further Information

EACOF has been and is to be presented at a couple of conferences. These presentations can provide additional information about the motivation behind, design of, and use cases for EACOF.