tests: benchmark: timing_info: Change API/variable Name.
The API/Variable names in timing_info looks very speicific to platform (like systick etc), whereas these variabled are used across platforms (nrf/arm/quark). So this patch :- 1. changing API/Variable names to generic one. 2. Creating some of Macros whose implimentation is platform depenent. Jira: ZEP-2314 Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
This commit is contained in:
parent
70e381f2e8
commit
76b577e180
12 changed files with 246 additions and 241 deletions
|
@ -44,7 +44,7 @@ SECTION_FUNC(TEXT, _isr_wrapper)
|
|||
push {lr} /* lr is now the first item on the stack */
|
||||
|
||||
#ifdef CONFIG_EXECUTION_BENCHMARKING
|
||||
bl read_systick_start_of_isr
|
||||
bl read_timer_start_of_isr
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT
|
||||
|
@ -114,7 +114,7 @@ _idle_state_cleared:
|
|||
push {r3}
|
||||
#endif
|
||||
push {lr}
|
||||
bl read_systick_end_of_isr
|
||||
bl read_timer_end_of_isr
|
||||
#if defined(CONFIG_ARMV6_M)
|
||||
pop {r3}
|
||||
mov lr,r3
|
||||
|
|
|
@ -190,7 +190,7 @@ _thread_irq_disabled:
|
|||
#endif
|
||||
push {lr}
|
||||
|
||||
bl read_systick_end_of_swap
|
||||
bl read_timer_end_of_swap
|
||||
|
||||
#if defined(CONFIG_ARMV6_M)
|
||||
pop {r3}
|
||||
|
@ -367,7 +367,7 @@ SECTION_FUNC(TEXT, __swap)
|
|||
push {r3}
|
||||
#endif
|
||||
push {lr}
|
||||
bl read_systick_start_of_swap
|
||||
bl read_timer_start_of_swap
|
||||
#if defined(CONFIG_ARMV6_M)
|
||||
pop {r3}
|
||||
mov lr,r3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue