No description
5142b1f388
Old realtime was used for both timers (where an accurate count of all ticks is needed) and the system time. In order to implement adjtime(2), these duties must be separated as changing the time of day by a small amount shouldn't affect timers in any way nor should it change the boot time. Following the naming of the clocks used by clock_gettime(2). The clock named 'realtime' will represent the best guess at the current wall clock time, and the clock named 'monotonic' will represent the absolute time the system has been running. Use monotonic for timers in kernel and in drivers. Use realtime for determining time of day, dates, etc. This commit simply renames realtime to monotonic and adds a new tick counter named realtime. There are no functional changes in this commit. It just lays the foundation for future work. |
||
---|---|---|
benchmarks | ||
bin | ||
commands | ||
common | ||
dist/nvi | ||
distrib | ||
docs | ||
drivers | ||
etc | ||
external | ||
gnu/dist | ||
include | ||
kernel | ||
lib | ||
libexec | ||
man | ||
releasetools | ||
sbin | ||
servers | ||
share | ||
sys | ||
test | ||
tools | ||
usr.bin | ||
usr.sbin | ||
.gitignore | ||
.gitreview | ||
build.sh | ||
LICENSE | ||
Makefile |