TensorRT 8.5.3
|
Application-implemented interface for profiling. More...
#include <NvInferRuntime.h>
Public Member Functions | |
virtual void | reportLayerTime (char const *layerName, float ms) noexcept=0 |
Layer time reporting callback. More... | |
virtual | ~IProfiler () noexcept |
Application-implemented interface for profiling.
When this class is added to an execution context, the profiler will be called once per layer for each invocation of executeV2()/enqueueV2()/enqueueV3().
It is not recommended to run inference with profiler enabled when the inference execution time is critical since the profiler may affect execution time negatively.
|
inlinevirtualnoexcept |
|
pure virtualnoexcept |
Layer time reporting callback.
layerName | The name of the layer, set when constructing the network definition. |
ms | The time in milliseconds to execute the layer. |
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact