MCPcopy Index your code
hub / github.com/FoundationVision/ByteTrack / time_synchronized

Function time_synchronized

yolox/utils/dist.py:251–255  ·  view source on GitHub ↗

pytorch-accurate time

()

Source from the content-addressed store, hash-verified

249
250
251def time_synchronized():
252 """pytorch-accurate time"""
253 if torch.cuda.is_available():
254 torch.cuda.synchronize()
255 return time.time()

Callers 5

evaluateMethod · 0.90
evaluate_sortMethod · 0.90
evaluate_deepsortMethod · 0.90
evaluate_motdtMethod · 0.90
evaluateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected