powerapi-ng / jouleit Goto Github PK
View Code? Open in Web Editor NEWA repository of scripts that can be used to monitor energy consumption.
A repository of scripts that can be used to monitor energy consumption.
add manual implementation of asort for associative tables
Hi, I'm trying to use jouleit on Windows Subsystem for Linux (Windows 10 / WSL2 / Ubuntu 20.04.4 LTS / Intel Core I7), and I get the error:
find: โ/sys/devices/virtual/powercap/intel-rapl/intel-rapl:*โ: No such file or directory
I am wondering if your script is supposed to function under WSL, if you are aware of a workaround, if you plan to work on that...
Many thanks in advance!
I had some issues running measureit.sh
on Ubuntu 20.04.2, with an error being thrown on the asort
function of awk (stating that it was not defined).
root@Ubuntu-2004-focal-64-minimal ~ # ./measureit.sh
awk: line 23: function asorti never defined
----------------------------------------------
| execution time (us) |
----------------------------------------------
| 2440 |
----------------------------------------------
| Socket | Component | energy (uJ) |
----------------------------------------------
awk: line 19: function asort never defined
----------------------------------------------
I fixed this by installing gawk
(AFAIU ubuntu by default comes with mawk?), which included asort.
This might we worth mentioning in the README, wdyt? Or is ther some "awk-version-agnostic" sorting function that can be used instead?
Thank you for this tool, it's really useful, well done!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.