• Hardware Platform (GPU)
• DeepStream Version nvidia/deepstream:7.1-gc-triton-devel
• Issue Type(questions, new requirements)
Hey,
We’re working on latency measurement for pipeline elements and ran into a minor issue.
We’re enabling latency measurement by setting NVDS_ENABLE_LATENCY_MEASUREMENT=1
.
When calling nvds_measure_buffer_latency
, it prints latency details for every frame and source:
************BATCH-NUM = 1220**************
Source id = 0 Frame_num = 1220 Frame latency = 6.22681 (ms)
************BATCH-NUM = 1221**************
Source id = 0 Frame_num = 1221 Frame latency = 7.13281 (ms)
Since these logs aren’t useful to us, we added a new C++ function (bindings) that returns this data instead of printing it.
This allows us to control the data frequency and submit it as metrics, and it’s working well.
However, we still see these logs for each frame:
Encode Latency = 4.392822
Encode Latency = 3.986084
I couldn’t find the source of these logs in the repo.
Any help in disabling or removing these logs would be greatly appreciated!
In a later phase, I will open a PR to add the option to retrieve latency information, which is very useful for metrics.
Thanks!