005 Character Device Drivers DevelopmentIssues, queries, suggestions or discussion related to Linux Device drivers, character device drivers, Linux based character driver and related issues.
Jiffies is the unit in which time is mentioned, but it can't be understood by software developers. For them, we nee to convert jiffies into mseconds or microseconds, with functions provided in #include<linux/jiffies.h>.
certain header files in your system, may not exist in the same location as that of sir, so in that case, look for it in other locations or sometimes, they are preinclude in certain other header files. In my case, I wasn't able to find linux/tsc.h header file, which was rather in the location, arch/x86/include and btw, the function which I wanted to use, worked without this header file being included, I was using the getcycles function to fetch the number of cycles ran during the program, and it worked successfully without the header file tsc.h.