TensorRT 11.4.0
nvinfer1::v_1_0::IProfiler Class Referenceabstract

#include <NvInferRuntime.h>

Inheritance diagram for nvinfer1::v_1_0::IProfiler:
nvinfer1::IVersionedInterface

Public Member Functions

InterfaceInfo getInterfaceInfo () const noexcept override
 Return version information associated with this interface. Applications must not override this method. More...
 
virtual void reportLayerTime (char const *layerName, float ms) noexcept=0
 Layer time reporting callback. More...
 
 ~IProfiler () override=default
 
- Public Member Functions inherited from nvinfer1::IVersionedInterface
virtual APILanguage getAPILanguage () const noexcept
 The language used to build the implementation of this Interface. More...
 
virtual ~IVersionedInterface () noexcept=default
 

Additional Inherited Members

- Protected Member Functions inherited from nvinfer1::IVersionedInterface
 IVersionedInterface ()=default
 
 IVersionedInterface (IVersionedInterface const &)=default
 
 IVersionedInterface (IVersionedInterface &&)=default
 
IVersionedInterface & operator= (IVersionedInterface const &) &=default
 
IVersionedInterface & operator= (IVersionedInterface &&) &=default
 

Constructor & Destructor Documentation

◆ ~IProfiler()

nvinfer1::v_1_0::IProfiler::~IProfiler ( )
overridedefault

Member Function Documentation

◆ getInterfaceInfo()

InterfaceInfo nvinfer1::v_1_0::IProfiler::getInterfaceInfo ( ) const
inlineoverridevirtualnoexcept

Return version information associated with this interface. Applications must not override this method.

Implements nvinfer1::IVersionedInterface.

◆ reportLayerTime()

virtual void nvinfer1::v_1_0::IProfiler::reportLayerTime ( char const *  layerName,
float  ms 
)
pure virtualnoexcept

Layer time reporting callback.

Parameters
layerNameThe name of the layer, set when constructing the network definition. If the engine is built with profiling verbosity set to kNONE, the layerName is the decimal index of the layer.
msThe time in milliseconds to execute the layer.

The documentation for this class was generated from the following file:

  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