Skip to content

Conversation

@xwu2intel
Copy link
Contributor

Description

The existing latency tracer only supports a single pipeline/branch in the gst launch string. This patch extends the support to multiple pipelines/branches. Also included is performance optimization to reduce tracing overhead.

Any Newly Introduced Dependencies

N/A

How Has This Been Tested?

Unit tested with common pipelines

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes.
  • I have not introduced any 3rd party components incompatible with APACHE-2.0.
  • I have not included any company confidential information, trade secret, password or security token.
  • I have performed a self-review of my code.

Copilot AI and others added 30 commits December 7, 2025 21:08
…ltiple-sources

Extend latency_tracer to support multiple GStreamer pipeline branches
…-tracer

Add source_name and sink_name fields to latency tracer output
Remove logging overhead in latency tracer for non-writable buffers
…ltiple-sources

Copilot/extend latency tracer multiple sources
- Added find_upstream_source() function to recursively walk upstream
- Modified do_push_buffer_pre() to use topology analysis
- Updated cal_log_pipeline_latency() to use topology analysis
- Simplified add_latency_meta() to remove source_element tracking

Co-authored-by: xwu2intel <[email protected]>
- Updated README.md to explain topology analysis approach
- Marked source_element field as deprecated in metadata header
- Added detailed comments explaining the new implementation

Co-authored-by: xwu2intel <[email protected]>
…used parameter

- Added proper GST_ITERATOR_RESYNC and GST_ITERATOR_ERROR handling
- Removed unused elem parameter from add_latency_meta()
- Updated all call sites to use new signature

Co-authored-by: xwu2intel <[email protected]>
…ification

Fix latency tracer source identification via topology analysis
Fix duplicate logging and per-branch frame counters in latency_tracer
@xwu2intel xwu2intel enabled auto-merge (squash) December 9, 2025 01:00
@tbujewsk tbujewsk changed the title Extend latency tracer to support multiple pipelines/branches in the gst launch string [DLStreamer] Extend latency tracer to support multiple pipelines/branches in the gst launch string Dec 9, 2025
@tbujewsk
Copy link
Contributor

Comment sent via email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants