Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ is_profiling
Function
is_profiling
imperative/python/megengine/utils/profiler.py:322–323 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
320
321
322
def
is_profiling():
323
return
_running_profiler is not None
324
325
326
def
_stop_current_profiler():
Callers
15
put
Method · 0.85
put_impl
Method · 0.85
del_impl
Method · 0.85
drop
Method · 0.85
dispatch_default_cpu
Method · 0.85
dispatch_kernel
Method · 0.85
set_option
Method · 0.85
alloc
Method · 0.85
do_apply_op
Method · 0.85
wait_tensor
Method · 0.85
start_profile
Method · 0.85
stop_profile
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected