zephyr/doc/kernel/nanokernel
Fabrice Olivero 128dcbbe13 kernel event logger: add possibility to use custom timestamp
By default, kernel event logger is using the system timer. But on
some platforms where the timer driver maintains the system timer
cycle accumulator in software, such as ones using the LOAPIC timer,
the system timer behavior leads to timestamp errors. For example,
the timer interrupt is logged with a wrong timestamp since the HW
timer value has been reset (periodic mode) but accumulated value not
updated yet (done later in the ISR).

This patch is adding the possibility to register a timer callback
function that will be used by the kernel event logger. For example,
on Quark SE, this allows using RTC or AON counter which accuracy is
sufficient and behavior more straight forward compared to system
timer.

Change-Id: I754c7557350ef29fc10701e62a35a5425e035f11
Signed-off-by: Fabrice Olivero <fabrice.olivero@intel.com>
2016-05-23 21:27:49 +00:00
..
nanokernel_data.rst
nanokernel_example.rst doc: Update and include nanokernel_example.rst 2016-02-19 11:18:49 -06:00
nanokernel_fibers.rst doc: Edit nanokernel_fibers for doc structure with rst, grammar 2016-03-19 10:40:13 +00:00
nanokernel_fifos.rst
nanokernel_interrupts.rst nanokernel: deprecate dynamic IRQs 2016-04-15 16:02:12 +00:00
nanokernel_kernel_event_logger.rst kernel event logger: add possibility to use custom timestamp 2016-05-23 21:27:49 +00:00
nanokernel_lifos.rst
nanokernel_ring_buffers.rst
nanokernel_stacks.rst
nanokernel_synchronization.rst doc: Edit nanokernel_synchronization section 2016-03-19 10:40:53 +00:00
nanokernel_tasks.rst doc: Edit nanokernel_tasks for consistency and ReST :dfn: syntax 2016-03-18 22:29:58 +00:00
nanokernel_timers.rst kernel: Combine nano_timers and nano_timeouts 2016-03-26 09:20:10 +00:00
nanokernel.rst doc: Update and include nanokernel_example.rst 2016-02-19 11:18:49 -06:00