diff options
author | marius <marius@FreeBSD.org> | 2010-10-17 16:46:54 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-10-17 16:46:54 +0000 |
commit | a5b338a9670cf20b4e13dad7d98dd2782ad6900a (patch) | |
tree | ca843d024259d500fd3b0888fc094af7c0493edc /lib/libc/stdlib/strtoumax.c | |
parent | 5f20c85d80fd664a636e53eb3bc630b106d8ea47 (diff) | |
download | FreeBSD-src-a5b338a9670cf20b4e13dad7d98dd2782ad6900a.zip FreeBSD-src-a5b338a9670cf20b4e13dad7d98dd2782ad6900a.tar.gz |
- In oneshot-mode it doesn't make sense to try to compensate the clock
drift in order to achieve a more stable clock as the tick intervals may
vary in the first place. In fact I haven't seen this code kick in when
in oneshot-mode so just skip it in that case.
- There's no need to explicitly stop the (S)TICK counter in oneshot-mode
with every tick as it just won't trigger again with the (S)TICK compare
register set to a value in the past (with a wrap-around once every ~195
years of uptime at 1.5 GHz this isn't something we have to worry about
in practice).
- Given that we'll disable interrupts completely anyway there's no
need to enter critical sections.
Diffstat (limited to 'lib/libc/stdlib/strtoumax.c')
0 files changed, 0 insertions, 0 deletions