zephyr/include/arch
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
..
arc arc: add _tsc_read for 64-bit timestamp 2017-02-15 05:55:09 +00:00
arm Merge "Merge arm branch into master" 2017-02-11 04:00:58 +00:00
nios2 kernel: Add OpenOCD support 2017-02-11 03:57:19 +00:00
riscv32 riscv32: enable gen_isr_tables mechanism 2017-02-15 04:49:17 +00:00
x86 kernel: Add OpenOCD support 2017-02-11 03:57:19 +00:00
xtensa Xtensa port: Fixed scheduling bug caused to missing Endianess related macros. 2017-02-13 11:39:02 -08:00
cpu.h Xtensa port: Added support in arch/cpu.h for Xtensa cores. 2017-02-13 08:04:27 -08:00