NVIDIA DeepStream SDK API Reference6.0.1 Release |
Defines Latency API
Description: This file defines an API for measuring module latency.
Definition in file nvds_latency_meta.h.
Go to the source code of this file.
Data Structures | |
struct | _NvDsMetaSubCompLatency |
Holds information about latency of the given subcomponent. More... | |
struct | _NvDsMetaCompLatency |
Holds information about latency of the given component. More... | |
struct | NvDsFrameLatencyInfo |
Holds information about the latency of a given frame. More... | |
Macros | |
#define | MAX_COMPONENT_LEN 64 |
#define | nvds_enable_latency_measurement (nvds_get_enable_latency_measurement()) |
Defines a pseudo-variable whose value is the return value of nvds_get_enable_latency_measurement(). More... | |
Typedefs | |
typedef struct _NvDsMetaSubCompLatency | NvDsMetaSubCompLatency |
Holds information about latency of the given subcomponent. More... | |
typedef struct _NvDsMetaCompLatency | NvDsMetaCompLatency |
Holds information about latency of the given component. More... | |
Functions | |
NvDsUserMeta * | nvds_set_input_system_timestamp (GstBuffer *buffer, gchar *element_name) |
Sets the system timestamp when the Gst Buffer arrives as input at the component. More... | |
gboolean | nvds_set_output_system_timestamp (GstBuffer *buffer, gchar *element_name) |
Sets the system timestamp when a Gst Buffer that is pushed to the downstream component. More... | |
gboolean | nvds_add_sub_time (GstBuffer *buffer, gchar *element_name, gchar *name, gdouble start_time, gdouble end_time) |
guint | nvds_measure_buffer_latency (GstBuffer *buf, NvDsFrameLatencyInfo *latency_info) |
Measures the latency of all frames present in the current batch. More... | |
gboolean | nvds_get_enable_latency_measurement (void) |
Indicates whether the environment variable NVDS_ENABLE_LATENCY_MEASUREMENT is exported. More... | |