joular / joularjx

JoularJX is a Java-based agent for software power monitoring at the source code level.
https://www.noureddine.org/research/joular/joularjx
GNU General Public License v3.0
71 stars 17 forks source link

JoularJX doesn't monitor the program consumption, displays 0 Joules (AMD Processor) #63

Closed AleMaffe closed 6 months ago

AleMaffe commented 6 months ago

I would like to report a problem related to the fact that JoularJX does not monitor the correct value of the consumption of my Java program.

I installed the newest version of the program in repo. JoularJX starts at the same time as the program as desired, but when it finishes, it shows 0 Joules as energy consumed, which is clearly incorrect.

Furthermore, the PowerMonitor does not work: when you press the executable, a cmd window opens for an instant and then closes the next instant.

My specs: Processor: AMD Ryzen 3 4300U with Radeon Graphics 2.70 GHz RAM: 8GB OS: Win11 I'm working with IntelliJ IDEA Community Edition v2022.3 I've got the Java JDK 21.0.1

0 joules

Thank you for your attention and everything that could help for this problem, best regards.

adelnoureddine commented 6 months ago

Hi, on Windows, we use Intel Power Gagdet to get CPU power consumption. This only works on Intel CPU (no AMD unfortunately). On Linux AMD Ryzen works, and we're aiming for using another approach for CPU power on Windows, hopefully supporting AMD too. But for now, on Windows, it's Intel only.