MCPcopy Create free account
hub / github.com/EryiXie/PlaneRecNet / disable

Function disable

utils/timer.py:35–37  ·  view source on GitHub ↗

Disables the given function name fom being considered for the average or outputted in print_stats.

(fn_name)

Source from the content-addressed store, hash-verified

33
34
35def disable(fn_name):
36 """ Disables the given function name fom being considered for the average or outputted in print_stats. """
37 _disabled_names.add(fn_name)
38
39
40def enable(fn_name):

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected