how to calculate time required for the execution of the entry point of the driver ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

1) I have a driver code providing ioctl,read, write, mmap etc. entry points.
Now, i want to find the execution time of each entry point for comparison.

How this can be done ?
for ex.

take time_stamp1
call entry point
take time_stamp2

The above code from a user application can measure the execution time
?  Timing functions in user space are close to the real time ?


2) Which timing functions should be used to get the, close to correct
time, in user & kernel space ?
Mainly the purpose is to calculate timing interval.

Kindly help me.
Any link/reference will be helpful.

With regards,
Yogeshwar

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux