Definition at line 72 of file NvElementProfiler.h.
| Data Structures | |
| struct | NvElementProfilerData | 
| Holds profiling data for the element.  More... | |
| Public Types | |
| typedef int | ProfilerField | 
| Public Member Functions | |
| void | getProfilerData (NvElementProfilerData &data) | 
| Gets the profiling data for the element.  More... | |
| void | printProfilerData (std::ostream &out_stream=std::cout) | 
| Prints the element's profiling data to an output stream.  More... | |
| uint64_t | startProcessing () | 
| Informs the profiler that processing has started.  More... | |
| void | finishProcessing (uint64_t id, bool is_late) | 
| Informs the profiler that processing has finished.  More... | |
| void | enableProfiling (bool reset_data) | 
| Enables the profiler.  More... | |
| void | disableProfiling () | 
| Disables the profiler.  More... | |
| Static Public Attributes | |
| static const ProfilerField | PROFILER_FIELD_NONE = 0 | 
| static const ProfilerField | PROFILER_FIELD_TOTAL_UNITS = 1 | 
| static const ProfilerField | PROFILER_FIELD_LATE_UNITS = 2 | 
| static const ProfilerField | PROFILER_FIELD_LATENCIES = 4 | 
| static const ProfilerField | PROFILER_FIELD_FPS = 8 | 
| static const ProfilerField | PROFILER_FIELD_ALL = (PROFILER_FIELD_FPS << 1) - 1 | 
| Friends | |
| class | NvElement | 
| void NvElementProfiler::disableProfiling | ( | ) | 
Disables the profiler.
| void NvElementProfiler::enableProfiling | ( | bool | reset_data | ) | 
Enables the profiler.
startProcessing() and finishProcessing() are ineffective until the profiler is enabled.
| [in] | reset_data | Reset the profiled data. | 
| void NvElementProfiler::finishProcessing | ( | uint64_t | id, | 
| bool | is_late | ||
| ) | 
Informs the profiler that processing has finished.
Has no effect if profiler is disabled.
| [in] | id | ID of the unit whose processing is finished, 0 if the first unit in the profiler's queue should be picked. | 
| [in] | is_late | Should be true if the frame arrived late at the element. | 
| void NvElementProfiler::getProfilerData | ( | NvElementProfilerData & | data | ) | 
Gets the profiling data for the element.
| [out] | data | Reference to the NvElementProfilerData structure which should be filled. | 
| void NvElementProfiler::printProfilerData | ( | std::ostream & | out_stream = std::cout | ) | 
Prints the element's profiling data to an output stream.
| [in] | out_stream | Reference to a std::ostream. | 
| uint64_t NvElementProfiler::startProcessing | ( | ) | 
Informs the profiler that processing has started.
Has no effect if profiler is disabled.
| 
 | friend | 
Definition at line 218 of file NvElementProfiler.h.