MCPcopy Create free account
hub / github.com/EverMind-AI/MSA / get_current_usage

Method get_current_usage

src/utils/gpu_monitor.py:194–196  ·  view source on GitHub ↗

获取当前显存使用量(不停止监控)

(self)

Source from the content-addressed store, hash-verified

192 return 0.0
193
194 def get_current_usage(self):
195 """获取当前显存使用量(不停止监控)"""
196 return self._get_current_usage()
197
198 def get_peak_usage(self):
199 """获取当前记录的峰值显存使用量(不停止监控)"""

Callers

nothing calls this directly

Calls 1

_get_current_usageMethod · 0.95

Tested by

no test coverage detected