MCPcopy Index your code
hub / github.com/rocky/python-uncompyle6 / __mem_sage

Function __mem_sage

uncompyle6/main.py:512–516  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

510if sys.platform.startswith("linux") and os.uname()[2][:2] in ["2.", "3.", "4."]:
511
512 def __mem_sage():
513 mi = open("/proc/self/stat", "r")
514 mu = mi.readline().split()[22]
515 mi.close()
516 return int(mu) / 1000000
517
518else:
519

Callers

nothing calls this directly

Calls 2

openFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected