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

Method reportToProfiler

include/NvInferRuntime.h:3203–3206  ·  view source on GitHub ↗

\brief Calculate layer timing info for the current optimization profile in IExecutionContext and update the profiler after one iteration of inference launch. If IExecutionContext::getEnqueueEmitsProfile() returns true, the enqueue function will calculate layer timing implicitly if a profiler is provided. This function returns true and does nothing. If IExecutionContext::getEnqueueEmitsProfile()

Source from the content-addressed store, hash-verified

3201 //! \see IExecutionContext::setEnqueueEmitsProfile()
3202 //! \see IExecutionContext::getEnqueueEmitsProfile()
3203 bool reportToProfiler() const noexcept
3204 {
3205 return mImpl->reportToProfiler();
3206 }
3207
3208 //!
3209 //! \brief Set memory address for given input or output tensor.

Callers 3

operator()Method · 0.80
operator()Method · 0.80
operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected