|
Jetson Linux API Reference
|
32.7.5 Release
|
Go to the documentation of this file.
36 #ifndef __NV_ELEMENT_H__
37 #define __NV_ELEMENT_H__
virtual int isInError()
Indicates whether the element encountered an error during its operation.
virtual void enableProfiling()
Enables profiling for the element.
NvElement(const char *name, NvElementProfiler::ProfilerField=NvElementProfiler::PROFILER_FIELD_NONE)
Creates a new NvElement object with name name.
void operator=(NvElement const &)
Disallows assignment.
const char * comp_name
Specifies the name of the component, for debugging.
bool isProfilingEnabled()
Checks whether profiling is enabled for the element.
int is_in_error
Indicates if an error was encountered during the operation of the element.
void getProfilingData(NvElementProfiler::NvElementProfilerData &data)
Gets profiling data for the element.
Holds profiling data for the element.
static const ProfilerField PROFILER_FIELD_NONE
void printProfilingStats(std::ostream &out_stream=std::cout)
Prints profiling data for the element to an output stream.
Every element has a unique name that can be used for identifying the element in debug logs.
NvElementProfiler profiler
Profiler for the element.