GStreamer Open Source Performance Profiler (gst-top)
GStreamer Open Source Performance Profiler
gst-top
The gst-top is a profiling tool that prints the amount of CPU usage for each element inside the pipeline. This open source tool can be found in the following repository.
Set up
1. Clone the repository
git clone https://github.com/kirushyk/gst-instruments.git
2. Compile and install the tool
meson build ninja -C build sudo ninja -C build install
How to use it
To execute the tool add it to the pipeline as follows.
gst-top-1.0 gst-launch-1.0 videotestsrc is-live=true ! "video/x-bayer,format=(string)bggr,width=1440,height=1080,framerate=(fraction)120/1" ! queue ! bayer2rgb ! fakesink -v
It will print the following after you stop the pipeline.
ELEMENT %CPU %TIME TIME bayer2rgb0 12.0 97.4 1.50 s capsfilter0 0.2 1.3 20.3 ms queue0 0.1 0.7 10.3 ms fakesink0 0.1 0.6 9.56 ms videotestsrc0 0.0 0.0 5.40 us pipeline0 0.0 0.0 0 ns
For direct inquiries, please refer to the contact information available on our Contact page. Alternatively, you may complete and submit the form provided at the same link. We will respond to your request at our earliest opportunity.
Links to RidgeRun Resources and RidgeRun Artificial Intelligence Solutions can be found in the footer below.