I am using AT91SAM9G20 based development board. I see a drift of around 8 sec per day which is too much to be allowed. I want to know the root cause of this problem whether it's due to kernel or the crystal. I thought of reading jiffies values per hour. I'll toggle a gpio pin every hour and whenever there is a change in gpio value it prints the jiffies value. that way i can know how much extra jiffies are coming. Can nyone help me how to do this in linux through application.