Home
last modified time | relevance | path

Searched refs:stopwatch (Results 1 – 7 of 7) sorted by relevance

/rockchip-linux_mpp/mpp/base/
H A Dmpp_frame.c112 if (p->stopwatch) in mpp_frame_deinit()
113 mpp_stopwatch_put(p->stopwatch); in mpp_frame_deinit()
200 if (enable && !p->stopwatch) { in mpp_frame_set_stopwatch_enable()
204 p->stopwatch = mpp_stopwatch_get(name); in mpp_frame_set_stopwatch_enable()
205 if (p->stopwatch) in mpp_frame_set_stopwatch_enable()
206 mpp_stopwatch_set_show_on_exit(p->stopwatch, 1); in mpp_frame_set_stopwatch_enable()
207 } else if (!enable && p->stopwatch) { in mpp_frame_set_stopwatch_enable()
208 mpp_stopwatch_put(p->stopwatch); in mpp_frame_set_stopwatch_enable()
209 p->stopwatch = NULL; in mpp_frame_set_stopwatch_enable()
220 return p->stopwatch; in mpp_frame_get_stopwatch()
/rockchip-linux_mpp/osal/
H A Dmpp_time.c439 MPP_RET check_is_mpp_stopwatch(void *stopwatch) in check_is_mpp_stopwatch() argument
441 if (stopwatch && ((MppStopwatchImpl*)stopwatch)->check == stopwatch_name) in check_is_mpp_stopwatch()
444 mpp_err_f("pointer %p failed on check\n", stopwatch); in check_is_mpp_stopwatch()
468 void mpp_stopwatch_set_show_on_exit(MppStopwatch stopwatch, rk_s32 show_on_exit) in mpp_stopwatch_set_show_on_exit() argument
470 MppStopwatchImpl *impl = (MppStopwatchImpl *)stopwatch; in mpp_stopwatch_set_show_on_exit()
480 void mpp_stopwatch_record(MppStopwatch stopwatch, const char *event) in mpp_stopwatch_record() argument
482 MppStopwatchImpl *impl = (MppStopwatchImpl *)stopwatch; in mpp_stopwatch_record()
518 void mpp_stopwatch_put(MppStopwatch stopwatch) in mpp_stopwatch_put() argument
520 MppStopwatchImpl *impl = (MppStopwatchImpl *)stopwatch; in mpp_stopwatch_put()
547 rk_s64 mpp_stopwatch_elapsed_time(MppStopwatch stopwatch) in mpp_stopwatch_elapsed_time() argument
[all …]
/rockchip-linux_mpp/osal/inc/
H A Dmpp_time.h90 void mpp_stopwatch_set_show_on_exit(MppStopwatch stopwatch, rk_s32 show_on_exit);
91 void mpp_stopwatch_record(MppStopwatch stopwatch, const char *event);
93 rk_s64 mpp_stopwatch_elapsed_time(MppStopwatch stopwatch);
/rockchip-linux_mpp/mpp/
H A Dmpp.c755 MppStopwatch stopwatch = NULL; in mpp_put_frame() local
759 stopwatch = mpp_frame_get_stopwatch(frame); in mpp_put_frame()
762 mpp_stopwatch_record(stopwatch, NULL); in mpp_put_frame()
763 mpp_stopwatch_record(stopwatch, "put frame start"); in mpp_put_frame()
766 mpp_stopwatch_record(stopwatch, "input port user poll"); in mpp_put_frame()
776 mpp_stopwatch_record(stopwatch, "input port user dequeue"); in mpp_put_frame()
821 mpp_stopwatch_record(stopwatch, "input port user enqueue"); in mpp_put_frame()
830 mpp_stopwatch_record(stopwatch, "input port user poll"); in mpp_put_frame()
839 mpp_stopwatch_record(stopwatch, "input port user dequeue"); in mpp_put_frame()
855 mpp_stopwatch_record(stopwatch, "put_frame finish"); in mpp_put_frame()
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_enc_impl.c2146 mpp_stopwatch_record(hal_task->stopwatch, "encode hal start"); in mpp_enc_normal()
2153 mpp_stopwatch_record(hal_task->stopwatch, "encode hal finish"); in mpp_enc_normal()
2297 mpp_stopwatch_record(hal_task->stopwatch, "encode task done"); in mpp_enc_terminate_task()
2333 MppStopwatch stopwatch = NULL; in try_get_enc_task() local
2383 stopwatch = mpp_frame_get_stopwatch(enc->frame); in try_get_enc_task()
2384 mpp_stopwatch_record(stopwatch, "encode task start"); in try_get_enc_task()
2387 mpp_stopwatch_record(stopwatch, "invalid on check frm pkt"); in try_get_enc_task()
2411 hal_task->stopwatch = stopwatch; in try_get_enc_task()
2427 mpp_stopwatch_record(stopwatch, "invalid on frame rate drop"); in try_get_enc_task()
2812 mpp_stopwatch_record(hal_task->stopwatch, "encode task done"); in try_proc_normal_task()
[all …]
/rockchip-linux_mpp/mpp/hal/inc/
H A Dhal_enc_task.h91 MppStopwatch stopwatch; member
/rockchip-linux_mpp/mpp/base/inc/
H A Dmpp_frame_impl.h166 MppStopwatch stopwatch; member