10 #ifndef _DEBUG_TIME_CONSUMING_H_ 11 #define _DEBUG_TIME_CONSUMING_H_ 24 #define DEBUG_TIMER_INIT() init_timer0() 25 #define DEBUG_TIMER_START() timer0_start_count() 26 #define DEBUG_TIMER_END(x) timer0_end_count(x) 28 #define INIT_DEBUG_TIMER() do{}while(0) 29 #define DEBUG_TIMER_START() do{}while(0) 30 #define DEBUG_TIMER_END(x) do{}while(0)
void timer0_end_count_only_print_time_us(void)
停止timer0计时,仅输出单次从start开始的计时
Definition: debug_time_consuming.c:99
void timer0_start_debug_time(bool is)
调试挂起任务,timer0开始计时
Definition: debug_time_consuming.c:62
int ci_timer_val(void)
Get the value of TIMER0
Definition: debug_time_consuming.c:219
uint32_t timer0_end_debug_time(bool is, uint32_t *old_val)
恢复任务,停止timer0计时
Definition: debug_time_consuming.c:118
uint32_t timer1_end_count_only_print_time_us_and_return(void)
停止timer1计时,仅输出单次从start开始的计时,并返回计时时间
Definition: debug_time_consuming.c:203
void timer0_end_count(uint8_t *flag)
停止timer0计时,并计算平均时间
Definition: debug_time_consuming.c:77
void init_timer1(void)
初始化调试timer1
Definition: debug_time_consuming.c:137
void timer1_end_count_only_print_time_us(void)
停止timer1计时,仅输出单次从start开始的计时
Definition: debug_time_consuming.c:186
void timer0_start_count(void)
调试timer0开始计时
Definition: debug_time_consuming.c:51
void init_timer0(void)
初始化调试timer0
Definition: debug_time_consuming.c:34
void timer1_start_count(void)
调试timer1开始计时
Definition: debug_time_consuming.c:154