MCPcopy 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
322def is_profiling():
323 return _running_profiler is not None
324
325
326def _stop_current_profiler():

Callers 15

putMethod · 0.85
put_implMethod · 0.85
del_implMethod · 0.85
dropMethod · 0.85
dispatch_default_cpuMethod · 0.85
dispatch_kernelMethod · 0.85
set_optionMethod · 0.85
allocMethod · 0.85
do_apply_opMethod · 0.85
wait_tensorMethod · 0.85
start_profileMethod · 0.85
stop_profileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected