Skip to content

Commit

Permalink
fix: changed psutil memory reading from active to used (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanPedroGHM authored Mar 14, 2024
1 parent c55263b commit 1838f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perun/backend/psutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _getCallback(self, device: str) -> Callable[[], np.number]:
if device == "RAM_USAGE":

def func() -> np.number:
return np.uint64(psutil.virtual_memory().active)
return np.uint64(psutil.virtual_memory().used)

elif device == "CPU_USAGE":

Expand Down

0 comments on commit 1838f2b

Please sign in to comment.