You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When monitoring an application by its name I think the output is wrong when there are a range of PIDs to process, If, for example, I run powerjoular -ta firefox the 'CPU Utilization Percentage' will permanently stay at 0.00%.
Looking at the code, I think there may be an error in cpu_stat_app.adb, and that only the first PID is processed; that is, in Update_PID_Array:
When monitoring an application by its name I think the output is wrong when there are a range of PIDs to process, If, for example, I run
powerjoular -ta firefox
the 'CPU Utilization Percentage' will permanently stay at 0.00%.Looking at the code, I think there may be an error in
cpu_stat_app.adb
, and that only the first PID is processed; that is, inUpdate_PID_Array
:App_Data.PID_Array(Loop_I) := Integer'Value (String_Split.Slice (Subs, 1));
should be
App_Data.PID_Array(Loop_I) := Integer'Value (String_Split.Slice (Subs, I));
The text was updated successfully, but these errors were encountered: