The problem now is that that the program cannot understand the xtime variable. When I tried this statement :- printk (xtime.tv_usec); It gave me the following error `xtime' undeclared (first use in this function) I tried to include several classes but the same error appeared. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/