Compared with v1: - Change the interface name from 'elapsed_time' to 'uptime' - Add the check value 'check_elapsed_ticks' to avoid data race
Should I put elapsed_ticks and check_elapsed_ticks in a struct? If yes, what should be the name of the struct? (naming is always a difficult thing to me :/) Zhaoming Luo (1): Add a mach host operation which returns elapsed time since bootup include/mach/mach_host.defs | 7 +++++++ kern/mach_clock.c | 26 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) -- 2.45.2