drivers: timer: cortex_m_systick remove dead code
Removed CONFIG_INT_LATENCY_BENCHMARK dead code. CONFIG_INT_LATENCY_BENCHMARK depends on ARCH="x86", it will never be true for ARM code. Change-Id: Ia5779a69b1bf670ebb140c2923c9fe0af6b781d4 Signed-off-by: Javier B Perez <javier.b.perez.hernandez@intel.com>
This commit is contained in:
parent
86a4fb0332
commit
035ec8249d
1 changed files with 0 additions and 15 deletions
|
@ -87,10 +87,6 @@ static uint32_t clock_accumulated_count;
|
|||
#define IDLE_TICKLESS 1 /* tickless idle mode */
|
||||
#endif /* CONFIG_TICKLESS_IDLE */
|
||||
|
||||
#ifdef CONFIG_INT_LATENCY_BENCHMARK
|
||||
extern uint32_t _hw_irq_to_c_handler_latency;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_POWER_MANAGEMENT
|
||||
extern int32_t _NanoIdleValGet(void);
|
||||
extern void _NanoIdleValClear(void);
|
||||
|
@ -240,17 +236,6 @@ void _TIMER_INT_HANDLER(void *unused)
|
|||
_sys_k_event_logger_interrupt();
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_INT_LATENCY_BENCHMARK
|
||||
uint32_t value = __scs.systick.val;
|
||||
uint32_t delta = __scs.systick.reload - value;
|
||||
|
||||
if (_hw_irq_to_c_handler_latency > delta) {
|
||||
/* keep the lowest value observed */
|
||||
_hw_irq_to_c_handler_latency = delta;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_POWER_MANAGEMENT
|
||||
int32_t numIdleTicks;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue