The
Linux kernel maintains a global variable called jiffies, which represents the
number of timer ticks since the
machine started. This variable is initialized to zero and increments each timer interrupt.
The jiffies global and associated functions are provided in ./
linux/include/
linux/jiffies.h.
asmlinkage long sys_getjiffies( void )
{
return (long)get_jiffies_
64();
}
do you know your jiffer ?