Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ format_path
Method
format_path
imperative/python/megengine/utils/profiler.py:229–230 ·
view source on GitHub ↗
(self, path, pid, format)
Source
from the content-addressed store, hash-verified
227
_living_profilers.remove(self)
228
229
def
format_path(self, path, pid, format):
230
return
os.path.join(path,
"{}.{}"
.format(pid, format))
231
232
def
__enter__(self):
233
self.start()
Callers
2
path
Method · 0.95
dump
Method · 0.95
Calls
2
join
Method · 0.80
format
Method · 0.45
Tested by
no test coverage detected