# NvElementProfiler::NvElementProfiler::NvElementProfilerData Struct Reference

Holds profiling data for the element. More...

`#include <NvElementProfiler.h>`

Inheritance diagram for NvElementProfiler::NvElementProfiler::NvElementProfilerData:

List of all members.

## Public Attributes

ProfilerField | valid_fields
| Valid Fields which are supported by the element.
uint64_t | average_latency_usec
| Average latency of all processed units, in microseconds.
uint64_t | min_latency_usec
| Minimum of latencies for each processed units, in microseconds.
uint64_t | max_latency_usec
| Maximum of latencies for each processed units, in microseconds.
uint64_t | total_processed_units
| Total units processed.
uint64_t | num_late_units
| Number of units which arrived late at the element.
float | average_fps
| Average rate at which the units were processed.
struct timeval | profiling_time
| Total profiling time.

## Detailed Description

Holds profiling data for the element.

Some elements may not support all the fields in the structure. User should check the valid_fields flag to check which fields are valid.

Definition at line 75 of file NvElementProfiler.h.

## Member Data Documentation

float NvElementProfiler::NvElementProfiler::NvElementProfilerData::average_fps

Average rate at which the units were processed.

Definition at line 92 of file NvElementProfiler.h.

uint64_t NvElementProfiler::NvElementProfiler::NvElementProfilerData::average_latency_usec

Average latency of all processed units, in microseconds.

Definition at line 80 of file NvElementProfiler.h.

uint64_t NvElementProfiler::NvElementProfiler::NvElementProfilerData::max_latency_usec

Maximum of latencies for each processed units, in microseconds.

Definition at line 84 of file NvElementProfiler.h.

uint64_t NvElementProfiler::NvElementProfiler::NvElementProfilerData::min_latency_usec

Minimum of latencies for each processed units, in microseconds.

Definition at line 82 of file NvElementProfiler.h.

uint64_t NvElementProfiler::NvElementProfiler::NvElementProfilerData::num_late_units

Number of units which arrived late at the element.

Definition at line 89 of file NvElementProfiler.h.

struct timeval NvElementProfiler::NvElementProfiler::NvElementProfilerData::profiling_time`[read]`

Total profiling time.

Definition at line 95 of file NvElementProfiler.h.

uint64_t NvElementProfiler::NvElementProfiler::NvElementProfilerData::total_processed_units

Total units processed.

Definition at line 87 of file NvElementProfiler.h.

ProfilerField NvElementProfiler::NvElementProfiler::NvElementProfilerData::valid_fields

Valid Fields which are supported by the element.

Definition at line 77 of file NvElementProfiler.h.

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

- include/NvElementProfiler.h