Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AverageWatts

AverageWatts is a formula for a software-defined power meter based on the PowerAPI framework. This project is the implementation of a simple power meter that estimate the power consumption following this method : $$\mathcal{P} = \frac{\mathcal{P}_{rapl}}{n}$$ where n is the total number of active processus.

Installation

Formula can be launched by running the following command:

PYTHONPATH=src python -m averagewatts \
    --input <Input> \
    --output <Output>

Input / Output are the one available from PowerAPI framework.

For example, using csv as a source and csv as a destination:

PYTHONPATH=src python -m averagewatts \
    --input csv --model HWPCReport --name puller_csv --files "./tests/integration/data/rapl.csv,./tests/integration/data/msr.csv,./tests/integration/data/core.csv" \
    --output csv --directory "../power_reports.d"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages