MCPcopy
hub / github.com/dask/dask / clear

Method clear

dask/diagnostics/profile.py:110–116  ·  view source on GitHub ↗

Clear out old results from profiler

(self)

Source from the content-addressed store, hash-verified

108 return visualize(self, **kwargs)
109
110 def clear(self):
111 """Clear out old results from profiler"""
112 self._results.clear()
113 del self.results[:]
114 self._dsk = {}
115 self.start_time = None
116 self.end_time = None
117
118
119ResourceData = namedtuple("ResourceData", ("time", "mem", "cpu"))

Callers 15

__enter__Method · 0.95
refreshFunction · 0.45
process_runnablesFunction · 0.45
_finishMethod · 0.45
unpack_collectionsFunction · 0.45
_normalize_pickleFunction · 0.45
__init__Method · 0.45
__delitem__Method · 0.45
test_compressionFunction · 0.45
to_parquetFunction · 0.45
_finishMethod · 0.45

Calls

no outgoing calls

Tested by 13

test_compressionFunction · 0.36
test_profilerFunction · 0.36
test_resource_profilerFunction · 0.36
test_cache_profilerFunction · 0.36
test_profiler_plotFunction · 0.36
test_cache_profiler_plotFunction · 0.36
test_plot_multipleFunction · 0.36
test_registerFunction · 0.36