mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-30 04:25:21 +00:00
There are race conditions trying to coordinate the value between the accumulated_cycle_count (updated at interrupt time) and trying to compute the delta from the last interrupt using the mtime registers. An unlucky call could result in the timestamp appearing to move backwards in time. the 'mtime' register isn't reset at every interrupt. Since we just want a cycle counter, report its raw value. Issue: ZEP-1546 Change-Id: I9f404b33214d6502fea47374fcf0ecbf84ef8136 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.known-issues | ||
arch | ||
boards | ||
doc | ||
drivers | ||
dts | ||
ext | ||
include | ||
kernel | ||
lib | ||
misc | ||
samples | ||
scripts | ||
subsys | ||
tests | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
defaults.tc | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
Makefile.inc | ||
Makefile.test | ||
zephyr-env.sh |