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:
Youvedeep Singh 2017-08-31 20:05:05 +05:30 committed by Anas Nashif
commit 76b577e180
12 changed files with 246 additions and 241 deletions

View file

@ -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

View file

@ -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