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