pmonitor 1.3.7__py3-none-any.whl → 1.3.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- monitor/mac_gpu.py +0 -2
- monitor/monitor_pids.py +2 -2
- {pmonitor-1.3.7.dist-info → pmonitor-1.3.8.dist-info}/METADATA +1 -1
- {pmonitor-1.3.7.dist-info → pmonitor-1.3.8.dist-info}/RECORD +7 -7
- {pmonitor-1.3.7.dist-info → pmonitor-1.3.8.dist-info}/WHEEL +0 -0
- {pmonitor-1.3.7.dist-info → pmonitor-1.3.8.dist-info}/entry_points.txt +0 -0
- {pmonitor-1.3.7.dist-info → pmonitor-1.3.8.dist-info}/top_level.txt +0 -0
monitor/mac_gpu.py
CHANGED
monitor/monitor_pids.py
CHANGED
|
@@ -10,7 +10,7 @@ import os
|
|
|
10
10
|
import stat
|
|
11
11
|
import subprocess
|
|
12
12
|
import re
|
|
13
|
-
import
|
|
13
|
+
from monitor.mac_gpu import get_gpu_memory
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class PidsPerf:
|
|
@@ -35,7 +35,7 @@ class PidsPerf:
|
|
|
35
35
|
current_pids.add(current_pid) # 将主进程及子进程添加到list中
|
|
36
36
|
pids_process = self.processUtil.get_pids_process(current_pids) # 获取所有进程
|
|
37
37
|
|
|
38
|
-
gpu_memory_usage_0, gpu_memory_percent_0 =
|
|
38
|
+
gpu_memory_usage_0, gpu_memory_percent_0 = get_gpu_memory()
|
|
39
39
|
for process in pids_process:
|
|
40
40
|
try:
|
|
41
41
|
cpu_percent = process.cpu_percent()
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
monitor/WinPidUtil.py,sha256=0vu2cqcQRrBTb5t_9HOmUoOfbe9KRrI-cyDlJX9bcrw,8753
|
|
2
2
|
monitor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
monitor/get_process_name.py,sha256=HxePo2gdrTo2Ukg4DTnYzUMdczVWywCeLCXQ-RRWyu8,3913
|
|
4
|
-
monitor/mac_gpu.py,sha256=
|
|
4
|
+
monitor/mac_gpu.py,sha256=fzKZEcyM4oFOLfC8VCZpNw6MZ3jP0hkIXFhFWRNQ96I,1836
|
|
5
5
|
monitor/monitor_mac.py,sha256=OoptTTXTZQupzBwgGOfKNjyYAKBxDy-wI3l6T7XVE8s,4651
|
|
6
|
-
monitor/monitor_pids.py,sha256=
|
|
6
|
+
monitor/monitor_pids.py,sha256=704fZlCW6Naf3ODxWLSFo29dSrRhplRP35Nv2sMXngQ,14569
|
|
7
7
|
monitor/monitor_win.py,sha256=xs5nzqqEPoDmJTegh3lQhVjjpPcOWnruWKK65ttqnTo,6161
|
|
8
8
|
monitor/run_monitor.py,sha256=JKjb0X2tjPECFg_k7oby7Yg5Xhs8UNmbjCBP_6oXqMk,1579
|
|
9
9
|
monitor/sys_info.py,sha256=aNultuRoQuRYPkYo397xAXVDXP07Qx5JOHtYzNmEvuc,3208
|
|
@@ -24,8 +24,8 @@ monitor/DLL/ucrtbased.dll,sha256=vtmKFPEHyr2OXkrUOu3Qs1dlbKG1dxZ8ItKCkTTU5S4,223
|
|
|
24
24
|
monitor/DLL/vcruntime140.dll,sha256=AsaqDm5iRBGp8ZsDYKeGWrFZCOJgJFEOXDipwINiw1o,119888
|
|
25
25
|
monitor/DLL/vcruntime140_1.dll,sha256=fdmqAuJxxoym1fGNZR0joV1yWXFa9DMmV4993ifzdjc,49640
|
|
26
26
|
monitor/exec/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
-
pmonitor-1.3.
|
|
28
|
-
pmonitor-1.3.
|
|
29
|
-
pmonitor-1.3.
|
|
30
|
-
pmonitor-1.3.
|
|
31
|
-
pmonitor-1.3.
|
|
27
|
+
pmonitor-1.3.8.dist-info/METADATA,sha256=ZR9w3aCQaI4sWKLj6OZ4MTKNzIxGdAxwE0rXd6AQPgA,215
|
|
28
|
+
pmonitor-1.3.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
29
|
+
pmonitor-1.3.8.dist-info/entry_points.txt,sha256=vmlLEANgf2fZar9BeXYiKdF6GMJbVXip-SIZx5yPXDo,55
|
|
30
|
+
pmonitor-1.3.8.dist-info/top_level.txt,sha256=tGkQDkVeyKgP5Rr7acpp0df83NBAnI8up0sGwRxuuQ4,8
|
|
31
|
+
pmonitor-1.3.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|