tests: benchmarks: timing_info: Enable benchmarks for xtensa.
This patch provides support needed to get timing related information from xtensa based SOC. Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
parent
30b569e84a
commit
bb918d85f8
6 changed files with 46 additions and 7 deletions
|
@ -220,6 +220,10 @@ xtensa_switch:
|
|||
* sanity.
|
||||
*/
|
||||
l32i a1, a2, BSA_A2_OFF
|
||||
|
||||
#ifdef CONFIG_EXECUTION_BENCHMARKING
|
||||
call4 read_timer_end_of_swap
|
||||
#endif
|
||||
j _restore_context
|
||||
_switch_restore_pc:
|
||||
retw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue