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>
このコミットが含まれているのは:
@@ -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 {
|
||||
|
新しいイシューから参照
ユーザーをブロックする