GithubHelp home page GithubHelp logo

siliconlife / apple-m1-power-consumption-powermetrics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from singhkays/apple-m1-power-consumption-powermetrics

0.0 0.0 0.0 926 KB

Source code for parsing powermetrics logs and generating charts used in https://singhkays.com/blog/apple-silicon-m1-video-power-consumption-pt-1/

License: MIT License

Python 100.00%

apple-m1-power-consumption-powermetrics's Introduction

Apple Silicon M1 Power Consumption Deep Dive Series

This repository is the source code written by me to parse the powermetrics logs and generate charts used in the following blog https://singhkays.com/blog/apple-silicon-m1-video-power-consumption-pt-1/

Repository structure

Here are the various files and folders and their purposes

  1. powermetrics-parse.py - This is the main code that is used to parse logs and generate charts
  2. autorun-local-videos.py - This is an experimental file that I was trying to use to completely automate logging and playing local videos. I didn't use this for the blog as it needs more testing and fine-tuning.
  3. autorun-local-videos.py - Equivalent of #2 but for testing browser based videos using Selenium
  4. powermetric-logs - Folder where the powermetrics-parse.py script expects to find the logs to parse
  5. outputs - Folder where the output charts and files are placed

Contributions and Use

Feel free to use this code to learn or modify for your investigations. All I ask is an attribution to this repo and the accompanying blog @ https://singhkays.com/blog/apple-silicon-m1-video-power-consumption-pt-1/.

Contact

I'm fairly active over on Twitter and my DMs are open. Feel free to reach out with questions/comments, etc.

apple-m1-power-consumption-powermetrics's People

Contributors

singhkays avatar

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.