title: How to keep track of sub-second time
body: <p>How can I keep track of time with sub second precision. Can you guys provide me with some ideas and strategies. Also, the pros and cons of each, I am trying to implement this for a hard real-time system using a Linux kernel. The Linux clock() function is not accurate enough since its precision is by seconds.</p>