linux下jiffies定時器和hrtimer高精度定時器

1、jiffies定時器,HZ=100,精度只能達到10ms。linux 注:採用jiffies+msecs_to_jiffies(xx ms);可作到ms級,不過精度不夠app   #include <linux/jiffies.h>//DO-->jiffies調用頭文件 #include <linux/timer.h>  //DO-->timer_list結構體函數 static struct
相關文章
相關標籤/搜索