Lines Matching +full:clock +full:- +full:name
8 * http://www.apache.org/licenses/LICENSE-2.0
44 * Clock create / destroy / enable / disable function
45 * Note when clock is create it is default disabled user need to call enable
46 * fucntion with enable = 1 to enable the clock.
47 * User can use enable function with enable = 0 to disable the clock.
49 MppClock mpp_clock_get(const char *name);
50 void mpp_clock_put(MppClock clock);
51 void mpp_clock_enable(MppClock clock, RK_U32 enable);
54 * Clock basic operation function:
55 * start : let clock start timing counter
56 * pause : let clock pause and return the diff to start time
57 * reset : let clock counter to all zero
59 RK_S64 mpp_clock_start(MppClock clock);
60 RK_S64 mpp_clock_pause(MppClock clock);
61 RK_S64 mpp_clock_reset(MppClock clock);
64 * These clock helper function can only be call when clock is paused:
65 * mpp_clock_get_sum - Return clock sum up total value
66 * mpp_clock_get_count - Return clock sum up counter value
67 * mpp_clock_get_name - Return clock name
69 RK_S64 mpp_clock_get_sum(MppClock clock);
70 RK_S64 mpp_clock_get_count(MppClock clock);
71 const char *mpp_clock_get_name(MppClock clock);
88 MppTimer mpp_timer_get(const char *name);
106 MppStopwatch mpp_stopwatch_get(const char *name);
120 AutoTiming(const char *name = "AutoTiming");
133 #define AUTO_TIMER_STRING(name, cnt) name ## cnt argument
134 #define AUTO_TIMER_NAME_STRING(name, cnt) AUTO_TIMER_STRING(name, cnt) argument
135 #define AUTO_TIMER_NAME(name) AUTO_TIMER_NAME_STRING(name, __COUNTER__) argument