[Ilugc] Calculation of execution time

  • From: shekharchn@xxxxxxxxx (shekar)
  • Date: Wed, 17 Mar 2004 02:28:59 -0800 (PST)

 I am reading data from a parallel port. where right
now i neglected the ack part. iam simply reading the
data from port . i hv routine which inside program
counts no of times it read. but i want to do the same
for only one sec.

     is there any syscall in linux will help to run
the particular code for stipulated period of time .
      or else how to know the execution time of on
instruction(c language -statement) in linux.

-shekar 

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

Other related posts: