Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将内核空间所花费的时间映射ktime_get()到用户空间的相同单元。
ktime_get()
是否有任何 proc 条目或任何其他来源(在用户级别)可以与 ktime_get() 进行比较?
使用.clock_gettime(CLOCK_MONOTONIC)
clock_gettime
(CLOCK_MONOTONIC)