zephyr/kernel/nanokernel
Fabrice Olivero 68e7fca45c Set kernel event logger timestamps to HW cycles
OS tick period (usually 10 ms) is not sufficiently precise for task
execution analysis (like processing CPU load per context)

With that modification, the timestamp used by the kernel event logger
is 32-bit LSB of platform HW timer (for example Lakemont APIC timer
for Quark SE).
This timer period is very small and leads to timestamp wraparound
happening quite often (e.g. every 134s for Quark SE).

This wraparound must be considered when analyzing kernel event logger
data and care must be taken when tickless idle is enabled and sleep
duration can exceed maximum HW timer value.

Change-Id: Idc545da8f828a7357a69d83ff25c9afd09dab3c4
Signed-off-by: Fabrice Olivero <fabrice.olivero@intel.com>
2016-05-12 01:51:09 +00:00
..
include kernel: add _IS_IDLE_TASK() 2016-05-11 20:22:24 +00:00
atomic_c.c
compiler_stack_protect.c
device.c
errno.c errno: implement _get_errno() in common code 2016-05-04 17:04:14 +00:00
event_logger.c
idle.c
int_latency_bench.c
Kconfig
kernel_event_logger.c Set kernel event logger timestamps to HW cycles 2016-05-12 01:51:09 +00:00
Makefile errno: implement _get_errno() in common code 2016-05-04 17:04:14 +00:00
nano_context.c nanokernel: tighten _is_thread_essential() 2016-05-03 17:42:54 +00:00
nano_fiber.c kernel: Init back pointer to microkernel task 2016-05-04 22:51:33 +00:00
nano_fifo.c nanokernel: Fix nanokernel object timeout recalculation 2016-05-04 22:51:35 +00:00
nano_init.c kernel: _MOVE_INSTR needs to be defined for CONFIG_ARC 2016-05-05 00:06:03 -07:00
nano_lifo.c nanokernel: Fix nanokernel object timeout recalculation 2016-05-04 22:51:35 +00:00
nano_sema.c nanokernel: Fix nanokernel object timeout recalculation 2016-05-04 22:51:35 +00:00
nano_sleep.c nanokernel: Fix nanokernel object timeout recalculation 2016-05-04 22:51:35 +00:00
nano_stack.c
nano_sys_clock.c
nano_timer.c kernel: add _IS_IDLE_TASK() 2016-05-11 20:22:24 +00:00
ring_buffer.c
version.c