mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
[components][ktime]support period ktime timeout and multiple ktimer_hrtimer (#8972)
* support period time * enable multiple ktimer * mv set delay_cnt to hrtimer_start * add ktime debug info * change current_irq_begin to local var * fix bug: setting current timer and setting timeout in driver aren't atomicly * create->init * refactoring ktime
This commit is contained in:
@@ -104,7 +104,6 @@ struct rt_pic_isr
|
||||
#ifdef RT_USING_PIC_STATISTICS
|
||||
struct rt_pic_irq_statistics
|
||||
{
|
||||
rt_ubase_t current_irq_begin[RT_CPUS_NR];
|
||||
rt_ubase_t max_irq_time_ns;
|
||||
rt_ubase_t min_irq_time_ns;
|
||||
rt_ubase_t sum_irq_time_ns;
|
||||
|
||||
Reference in New Issue
Block a user