Git Product home page Git Product logo

framework-power-measurment's Introduction

Framework Power Measurment Tool

This tool is made to measure power on linux for the Framework laptop 13, it will probally work on others although I have not tested, as long as your laptop's battery starts with BAT in /sys/class/power_supply/ it will be found.

It outputs the recorded data to a .csv file and it will (soon again) plot the data to a graph .png.

Build & Run

cargo build --release

./target/release/framework-power-measurment help

./compile.sh # To Compile the Data into a single csv

After you have your final .csv you can import it into "https://app.rawgraphs.io/" after which you wanna choose Line Graph and then put Time on the X axis, Wattage on the Y axis, and then probally info as the Lines and either Settings or Info as the color depending on what you wanna see.

Credits

  • Myself.

Todo

[ ] Implement graph splitting and compilation [ ] Implement Load Emulation(Video, Text, Document Editing) [ ] Reimplement Visualization

License

MIT License

framework-power-measurment's People

Contributors

stetsed avatar

Stargazers

 avatar  avatar

Watchers

 avatar

framework-power-measurment's Issues

New Feature: Command Summary

A feature that may be worth adding could be something like at the end of a run, getting a summary, such as:
Run time: 00:30:10, Mode: Stress, Threads:8, Average Usage: 32 W, Saved to:./measure/stress8.csv
I could see it being especially useful for testing long term power consumption of things like expansion cards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.