NVIDIA Xavier - RidgeRun Products - GstShark

From RidgeRun Developer Connection
Jump to: navigation, search



Previous: RidgeRun Products/GStreamer Daemon Index Next: Reference Documentation



Nvidia-preferred-partner-badge-rgb-for-screen.png



Overview

GstShark is an open-source project from Ridgerun that provides benchmarks and profiling tools for GStreamer 1.7.1 (and above). It includes tracers for generating debug information plus some tools to analyze the debug information. GstShark provides easy to use and useful tracers, paired with analysis tools to enable straightforward optimizations.

GstShark leverages GStreamer's tracing hooks and open-source and standard tracing and plotting tools to simplify the process of understanding the bottlenecks in your pipeline.

Promo/Demo Video


Features

GstShark is a set of data acquisition tools that yield some intermediate results and some data analysis tools that process those results.

Tracers

GstShark currently includes nine different tracers. They are described in detail in the tracers section later in this documentation.

Tracer Description
InterLatency Measures the latency time at different points in the pipeline.
ProcTime Measures the time an element takes to produce an output given the corresponding input.
Framerate Measures the number of frames that go through a src pad every second.
ScheduleTime Measures the amount of time between two consecutive buffers in a sink pad. T
CPUUsage Measures the CPU usage every second. In multiprocessor systems, these measurements are presented per core.
Graphic Records a graphical representation of the current pipeline.
Bitrate Measures the current stream bitrate in bits per second.
Queue Level Measures the amount of data queued in every queue element in the pipeline.
Buffer Prints information of every buffer that passes through every sink pad in the pipeline. This information contains PTS and DTS, duration, size, flags, and even refcount.

Results generated

GstShark outputs two sets of data that are relevant for the debug of the pipelines.

Data Description
CTF trace files Trace files that comply with the standard Common Trace File format.
Pipeline diagram Useful visualization of the pipeline generated by the graphic tracer.

Analysis tools

GstShark provides some analysis tools that will help in parsing and extracting useful information from the trace data.

Tool Description
GstShark plot Octave scripts that process the trace files into easy-to-understand charts.
Eclipse plugins Experimental support for loading trace files into Eclipse and providing charts.

Getting Started

To know more about the extension please refer to the GstShark Getting Started wiki page.

Contact Us

For technical questions or you would like to know more information please send an email to support@ridgerun.com.



Previous: RidgeRun Products/GStreamer Daemon Index Next: Reference Documentation