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 not stored for this graph (policy: none)