video: driver: Add support to print decode/encode stats

Add support to calculate and print encode and decode
time, and average time consumption per fbd sample.

Change-Id: I5e867833d1d88285bfebc8c9b9a593e3ed975ed5
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
このコミットが含まれているのは:
Akshata Sahukar
2021-04-21 18:04:44 -07:00
コミット 90658c5592
4個のファイルの変更38行の追加7行の削除

ファイルの表示

@@ -135,5 +135,6 @@ void msm_vidc_debugfs_deinit_inst(void *inst);
void msm_vidc_debugfs_update(void *inst,
enum msm_vidc_debugfs_event e);
int msm_vidc_check_ratelimit(void);
void msm_vidc_show_stats(void *inst);
#endif

ファイルの表示

@@ -637,12 +637,12 @@ struct buf_count {
};
struct profile_data {
u32 start;
u32 stop;
u32 cumulative;
u64 start;
u64 stop;
u64 cumulative;
char name[64];
u32 sampling;
u32 average;
u64 average;
};
struct msm_vidc_debug {