如所示, 驱动可以使用jiffies 的当前值来计算事件之间的时间间隔(例如, 在输入驱动中从单击 ... #include <linux/time.h> void do_gettimeofday(struct timeval *tv);.
確定! 回上一頁