MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / profile_time

Function profile_time

mmdet/utils/profiling.py:11–40  ·  view source on GitHub ↗

Print time spent by CPU and GPU. Useful as a temporary context manager to find sweet spots of code suitable for async implementation.

(trace_name,
                     name,
                     enabled=True,
                     stream=None,
                     end_stream=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected