|
@@ -56,32 +56,12 @@ struct core_inst_pair {
|
|
static inline void tic(struct msm_vidc_inst *i, enum profiling_points p,
|
|
static inline void tic(struct msm_vidc_inst *i, enum profiling_points p,
|
|
char *b)
|
|
char *b)
|
|
{
|
|
{
|
|
- struct timeval __ddl_tv;
|
|
|
|
-
|
|
|
|
- if (!i->debug.pdata[p].name[0])
|
|
|
|
- memcpy(i->debug.pdata[p].name, b, 64);
|
|
|
|
- if ((msm_vidc_debug & VIDC_PERF) &&
|
|
|
|
- i->debug.pdata[p].sampling) {
|
|
|
|
- do_gettimeofday(&__ddl_tv);
|
|
|
|
- i->debug.pdata[p].start =
|
|
|
|
- (__ddl_tv.tv_sec * 1000) + (__ddl_tv.tv_usec / 1000);
|
|
|
|
- i->debug.pdata[p].sampling = false;
|
|
|
|
- }
|
|
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
|
|
|
|
static inline void toc(struct msm_vidc_inst *i, enum profiling_points p)
|
|
static inline void toc(struct msm_vidc_inst *i, enum profiling_points p)
|
|
{
|
|
{
|
|
- struct timeval __ddl_tv;
|
|
|
|
-
|
|
|
|
- if ((msm_vidc_debug & VIDC_PERF) &&
|
|
|
|
- !i->debug.pdata[p].sampling) {
|
|
|
|
- do_gettimeofday(&__ddl_tv);
|
|
|
|
- i->debug.pdata[p].stop = (__ddl_tv.tv_sec * 1000)
|
|
|
|
- + (__ddl_tv.tv_usec / 1000);
|
|
|
|
- i->debug.pdata[p].cumulative += i->debug.pdata[p].stop -
|
|
|
|
- i->debug.pdata[p].start;
|
|
|
|
- i->debug.pdata[p].sampling = true;
|
|
|
|
- }
|
|
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
|
|
|
|
static u32 write_str(char *buffer,
|
|
static u32 write_str(char *buffer,
|
|
@@ -559,7 +539,4 @@ void msm_vidc_debugfs_update(void *instance,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-void do_gettimeofday(struct timeval *__ddl_tv)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
|
|
|