Power Monitor for Windows is a command line tool that read CPU's power consumption through RAPL's MSRs, and provides the power consumption of the CPU every second.
Power Monitor for Windows depends on the Windows RAPL driver by Hubblo, and therefore require installing the driver first, and runs on Intel or AMD CPUs (since Ryzen).
Power Monitor for Windows was initially developed as part of JoularJX, but is now its separate project.
Just run the program in command line, or run the executable. It'll print on the command line the power consumption of the CPU every second.
To compile the Power Monitor for Windows, open the project in Visual Studio and compile there. Or open, Developer Command Prompt for VS (or Developer PowerShell for VS), and compile with this command:
msbuild.exe PowerMonitor.sln /property:Configuration=Release
Power Monitor for Windows is licensed under the GNU GPL 3 license only (GPL-3.0-only).
Copyright (c) 2024, Adel Noureddine, Université de Pau et des Pays de l'Adour. All rights reserved. This program and the accompanying materials are made available under the terms of the GNU General Public License v3.0 only (GPL-3.0-only) which accompanies this distribution, and is available at: https://www.gnu.org/licenses/gpl-3.0.en.html
Author : Adel Noureddine