标签: linux linux-kernel kernel
正在阅读“理解Linux内核”一书并在其中说“微秒数由do_fast_gettimeoffset()计算”。它还说“计算当前秒内已经过的微秒数。”
无法理解作者在最后一句中的含义。有人可以解释一下吗?
答案 0 :(得分:1)
如果你想了解linux内核,你应该知道那本书已经过时了很长时间并且do_fast_gettimeoffset不再存在。
do_fast_gettimeoffset
do_get_fast_time返回秒数,并且总是很快。 do_gettimeoffset返回自第二秒开始以来的微秒数,可能很慢。
do_get_fast_time
do_gettimeoffset