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

Function traceToTiming

samples/common/sampleReporting.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103inline InferenceTime traceToTiming(const InferenceTrace& a)
104{
105 return InferenceTime((a.enqEnd - a.enqStart), (a.h2dEnd - a.h2dStart), (a.computeEnd - a.computeStart),
106 (a.d2hEnd - a.d2hStart));
107}
108
109} // namespace
110

Callers 1

exportJSONTraceFunction · 0.85

Calls 1

InferenceTimeClass · 0.85

Tested by

no test coverage detected