title: how to get the timestamp of kernel for linux real time operating system ??
body: <p>Client is a tool for sending a data. Server is a embedded PC target with Linux RT (real time) in it.  Initially target will be executing some other task. When the new data arrives from the client then the server will be interrupted and server schedules the newly arrived task!! I want to get the timestamp when it is interrupted and when kernel starts scheduling.</p>
  
  <p>I should modify the source code of kernel to get the timestamp of the kernel and someone please tell me where and how should i do this ??</p>
  
  <p>how to get the timestamp of kernel ??
  where should i modify the code in kernel source ??</p>