diff options
author | Zhaoming Luo <zhmingluo@163.com> | 2024-12-24 10:44:17 +0800 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-24 15:07:24 +0100 |
commit | e8c33a6d559ad420b6073426bba5bf8b30b31d54 (patch) | |
tree | 976a62987e003ff925e9bff3456d08e554f494f4 | |
parent | 6b080c5b5a6685d1af842b0a3558db4d1fcf4345 (diff) | |
download | gnumach-e8c33a6d559ad420b6073426bba5bf8b30b31d54.tar.gz gnumach-e8c33a6d559ad420b6073426bba5bf8b30b31d54.tar.bz2 gnumach-e8c33a6d559ad420b6073426bba5bf8b30b31d54.zip |
kern: Comment fixed
Read also:
https://mail.gnu.org/archive/html/bug-hurd/2024-12/msg00219.html
Signed-off-by: Zhaoming Luo <zhmingluo@163.com>
Message-ID: <20241224024417.1403-1-zhmingluo@163.com>
-rw-r--r-- | kern/mach_clock.c | 2 | ||||
-rw-r--r-- | kern/mach_clock.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kern/mach_clock.c b/kern/mach_clock.c index 4b953650..24609353 100644 --- a/kern/mach_clock.c +++ b/kern/mach_clock.c @@ -68,7 +68,7 @@ int hz = HZ; /* number of ticks per second */ int tick = (MICROSECONDS_IN_ONE_SECOND / HZ); /* number of usec per tick */ -time_value64_t time = { 0, 0 }; /* time since bootup (uncorrected) */ +time_value64_t time = { 0, 0 }; /* wallclock time (unadjusted) */ unsigned long elapsed_ticks = 0; /* ticks elapsed since bootup */ int timedelta = 0; diff --git a/kern/mach_clock.h b/kern/mach_clock.h index 66903b8a..04ed4b99 100644 --- a/kern/mach_clock.h +++ b/kern/mach_clock.h @@ -40,7 +40,7 @@ extern unsigned long elapsed_ticks; /* number of ticks elapsed since bootup */ extern int hz; /* number of ticks per second */ extern int tick; /* number of usec per tick */ -extern time_value64_t time; /* time since bootup (uncorrected) */ +extern time_value64_t time; /* wallclock time (unadjusted) */ typedef void timer_func_t(void *); |