Tools/gst-instruments: Added how to profile a bottleneck among elements
authorGeunsik Lim <geunsik.lim@samsung.com>
Wed, 21 Nov 2018 04:51:40 +0000 (13:51 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Wed, 21 Nov 2018 09:43:42 +0000 (09:43 +0000)
commit9233ee67446fafd0d1ffd02cf3e0dc7b7aa59137
tree454cb689acc3ede17ab6226301a4ac9512c8a420
parent2d10f58d29ce5c3dec6f8855a6e33eb69d112108
Tools/gst-instruments: Added how to profile a bottleneck among elements

Fixed issue #132 (Epic: Performance- Profiling)

This commit is to append how to use a gst-instruments tool in order to
do a profiling for performance optimization of NNStreamer.
This guide is experimented on Ubuntu 16.04 x86_64 distribution.

**Changes proposed in this PR:**
1. Added gst-top to display a performance report in real time such as top, perf-top
2. Added gst-report-1.0 to generate the trace file the below two goals as following:
   a. It display CPU usage, time usage, and execution time amon the elements.
   b. It generate a performance graph from a GStreamer pipeline.
3. Added screenshot of gst-top, gst-report, and generating pipeline graph

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
tools/profiling/README.md
tools/profiling/gst-instruments-perf.png [new file with mode: 0644]