author | Buddy Liong <a0270631@ti.com> | |
Tue, 24 Oct 2017 17:04:01 +0000 (12:04 -0500) | ||
committer | Buddy Liong <a0270631@ti.com> | |
Wed, 6 Dec 2017 17:26:54 +0000 (11:26 -0600) | ||
commit | 66fc662d2733d50e83f86dc298ba38f0af66799f | |
tree | 921c4d7f0a65dd3c160c29931db02c174396c2a7 | tree | snapshot (tar.xz tar.gz zip) |
parent | cb602cdeb00bd9b9888565332df1aad21b2b6bba | commit | diff |
Add profiler to measure based on IVA-HD processing time
When running with QNX test app, we are not able to get a good data
on IVA fps because the Profiler calculation is including the time at MPU
side. With QNX test app, there are more time spend on MPU side due to
file reading to an input buffer.
Previously the calculation is only based on the Total time which is the time
on both MPU and IVA.
This commit adds additional profiler to be based only on the IVA processing time.
The total IVA processing time is calculated based on the accumulation of time before
calling codec and after codec process is completed.
Change-Id: Ie754b156faa8d8ba508981d5b74bdb70518517cb
Signed-off-by: Buddy Liong <a0270631@ti.com>
When running with QNX test app, we are not able to get a good data
on IVA fps because the Profiler calculation is including the time at MPU
side. With QNX test app, there are more time spend on MPU side due to
file reading to an input buffer.
Previously the calculation is only based on the Total time which is the time
on both MPU and IVA.
This commit adds additional profiler to be based only on the IVA processing time.
The total IVA processing time is calculated based on the accumulation of time before
calling codec and after codec process is completed.
Change-Id: Ie754b156faa8d8ba508981d5b74bdb70518517cb
Signed-off-by: Buddy Liong <a0270631@ti.com>
src/ti/utils/profile.c | diff | blob | history |