summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-05-05 12:32:13 -0600
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-15 08:56:54 +0100
commit87d7a6e54b22ab0f39d9359f7de5357062fc2079 (patch)
tree27a6114c2e47a534a69e4bebcb895a6485bb4a83 /c
parentMake kern.timecounter.hardware tunable (diff)
downloadrtems-87d7a6e54b22ab0f39d9359f7de5357062fc2079.tar.bz2
kern: clarify boot time
In FreeBSD, the current time is computed from uptime + boottime. Uptime is a continuous, smooth function that's monotonically increasing. To effect changes to the current time, boottime is adjusted. boottime is mutable and shouldn't be cached against future need. Document the current implementation, with the caveat that we may stop stepping boottime on resume in the future and will step uptime instead (noted in the commit message, but not in the code). Sponsored by: Netflix Reviewed by: phk, rpokala Differential Revision: https://reviews.freebsd.org/D30116
Diffstat (limited to 'c')
0 files changed, 0 insertions, 0 deletions