zephyr/arch/arc/core
Chuck Jordan ae15a26751 arc: add _tsc_read for 64-bit timestamp
This implementation of _tsc_read returns a 64-bit value that
is derived from the 64-bit tick count multiplied by hwcycles per tick,
and then it adds the current value from the 32-bit timer.
This produces a 64-bit time. There is a bunch of math here, which
could be avoided if the CPU is built with Real-Time-Clock option.
EM Starter Kit SOCs don't have this. I don't think Arduino 101 does
either.

See ZEP-1559

Change-Id: I9f846d170246556ac40fe2f45809e457c6375d8c
Signed-off-by: Chuck Jordan <cjordan@synopsys.com>
2017-02-15 05:55:09 +00:00
..
offsets
atomic.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
cache.c
cpu_idle.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
fast_irq.S arc: enable gen_isr_tables mechanism 2017-02-15 04:54:47 +00:00
fatal.c
fault_s.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
fault.c
irq_manage.c
irq_offload.c
isr_wrapper.S arc: enable gen_isr_tables mechanism 2017-02-15 04:54:47 +00:00
Makefile arc: add _tsc_read for 64-bit timestamp 2017-02-15 05:55:09 +00:00
prep_c.c
regular_irq.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
reset.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
swap.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
sys_fatal_error_handler.c
thread_entry_wrapper.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
thread.c
timestamp.c arc: add _tsc_read for 64-bit timestamp 2017-02-15 05:55:09 +00:00
vector_table.c