c function to measure time in microsecond

Status
Not open for further replies.

necromancer

Member level 1
Joined
Jan 5, 2005
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
222
c measure time

is there a function in c that can measure time in microsecond or millisecond in linux
 

measure time in c

My application using windows operating system. thanks.
 

microsecond in c

not possible in windows and linux due to multi tasking.
you need deterministic responce.
use rtc clock and interupt if you need accurate responce.
hock
 

measuring microseconds in c

It is possible, but only within the kernel - so you would need a device driver or some multimedia timer.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…