MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / recordEnqueueTime

Method recordEnqueueTime

samples/common/sampleInference.cpp:833–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831 }
832
833 void recordEnqueueTime()
834 {
835 mEnqueueTimes[mNext][enqueueStart] = getCurrentTime();
836 enqueueStart = 1 - enqueueStart;
837 }
838
839 TimePoint getEnqueueTime(bool start)
840 {

Callers

nothing calls this directly

Calls 1

getCurrentTimeFunction · 0.85

Tested by

no test coverage detected