Hello All,
We are currently working on the following usecase,
NullSource (A15) -> Decode -> VPE -> Sync -> Alg_A (DSP1) -> SgxFrmcpy (A15)
// display on m4
SgxFrmcpy -> Display_M4 (IPU1_0)
//
// Graphics overlay display
//
GrpxSrc -> Display_Grpx
but while we print statistics using option 'p' over console we are not able to understand it correctly as,
[ VPE ] Link Statistics,
[HOST] [IPU2 ] 61.816446 s: ******************************
[HOST] [IPU2 ] 61.816507 s:
[HOST] [IPU2 ] 61.816537 s: Elapsed time = 17666 msec
[HOST] [IPU2 ] 61.816629 s:
[HOST] [IPU2 ] 61.816659 s: New data Recv = 125.15 fps
[HOST] [IPU2 ] 61.816751 s: Get Full Buf Cb = 118.30 fps
[HOST] [IPU2 ] 61.816812 s: Put Empty Buf Cb = 22.41 fps
[HOST] [IPU2 ] 61.816903 s: Driver/Notify Cb = 125.15 fps
[HOST] [IPU2 ] 61.816964 s:
[HOST] [IPU2 ] 61.816995 s: Input Statistics,
[HOST] [IPU2 ] 61.817117 s:
[HOST] [IPU2 ] 61.817147 s: CH | In Recv | In Drop | In User Drop | In Process
[HOST] [IPU2 ] 61.817239 s: | FPS | FPS | FPS | FPS
[HOST] [IPU2 ] 61.817300 s: --------------------------------------------------
[HOST] [IPU2 ] 61.817391 s: 0 | 31.30 0. 0 0. 0 22. 7
[HOST] [IPU2 ] 61.817544 s: 1 | 31.30 0. 0 0. 0 22. 7
[HOST] [IPU2 ] 61.817666 s: 2 | 31.30 0. 0 0. 0 22. 7
[HOST] [IPU2 ] 61.817818 s: 3 | 31.30 0. 0 0. 0 22. 7
[HOST] [IPU2 ] 61.817940 s:
[HOST] [IPU2 ] 61.817971 s: Output Statistics,
[HOST] [IPU2 ] 61.818032 s:
[HOST] [IPU2 ] 61.818093 s: CH | Out | Out | Out Drop | Out User Drop
[HOST] [IPU2 ] 61.818184 s: | ID | FPS | FPS | FPS
[HOST] [IPU2 ] 61.818276 s: ---------------------------------------------
[HOST] [IPU2 ] 61.818337 s: 0 | 0 22. 7 9.22 0. 0
[HOST] [IPU2 ] 61.818459 s: 1 | 0 22. 7 9.22 0. 0
[HOST] [IPU2 ] 61.818581 s: 2 | 0 22. 7 9.22 0. 0
[HOST] [IPU2 ] 61.818703 s: 3 | 0 22. 7 9.22 0. 0
[HOST] [IPU2 ] 61.818855 s:
[HOST] [IPU2 ] 61.818916 s: [ VPE ] LATENCY,
[HOST] [IPU2 ] 61.818947 s: ********************
[HOST] [IPU2 ] 61.819008 s: Local Link Latency : Avg = 4037 us, Min = 3934 us, Max = 7778 us,
[HOST] [IPU2 ] 61.819160 s: Source to Link Latency : Avg = 19863 us, Min = 10279 us, Max = 48557 us,
[HOST] [IPU2 ] 61.819313 s:
In above 9 FPS is getting dropped but if we see the final link i.e. Display link it is showing as,
[HOST] [IPU2 ] 61.842859 s:
[HOST] [IPU2 ] 61.842920 s: [ DISPLAY ] Link Statistics,
[HOST] [IPU2 ] 61.842981 s: ******************************
[HOST] [IPU2 ] 61.843042 s:
[HOST] [IPU2 ] 61.843164 s: Elapsed time = 12236 msec
[HOST] [IPU2 ] 61.843225 s:
[HOST] [IPU2 ] 61.843286 s: New data Recv = 31.38 fps
[HOST] [IPU2 ] 61.843347 s: Driver/Notify Cb = 59.98 fps
[HOST] [IPU2 ] 61.843439 s:
[HOST] [IPU2 ] 61.843469 s: Input Statistics,
[HOST] [IPU2 ] 61.843530 s:
[HOST] [IPU2 ] 61.843591 s: CH | In Recv | In Drop | In User Drop | In Process
[HOST] [IPU2 ] 61.843652 s: | FPS | FPS | FPS | FPS
[HOST] [IPU2 ] 61.843744 s: --------------------------------------------------
[HOST] [IPU2 ] 61.843805 s: 0 | 31.46 0. 0 0. 0 31.46
[HOST] [IPU2 ] 61.843957 s:
[HOST] [IPU2 ] 61.843988 s: [ DISPLAY ] LATENCY,
[HOST] [IPU2 ] 61.844049 s: ********************
[HOST] [IPU2 ] 61.844140 s: Local Link Latency : Avg = 48 us, Min = 30 us, Max = 213 us,
[HOST] [IPU2 ] 61.844262 s: Source to Link Latency : Avg = 134632 us, Min = 89322 us, Max = 5396823 us,
Please help us understand how come In FPS here is 31.46 as it was already dropped in VPE by 9?
How will we be able to understand as exactly about this print statistics calculation?
Inputs would be of great help.
Regards,
Shantanu