Jun 21, 2005 #1 N 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
Jun 23, 2005 #2 H HARRYNOV Newbie level 4 Joined Jun 21, 2005 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,331 measure time in c My application using windows operating system. thanks.
Jun 23, 2005 #3 H hock Advanced Member level 2 Joined May 28, 2001 Messages 524 Helped 47 Reputation 94 Reaction score 21 Trophy points 1,298 Location India Activity points 3,567 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
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
Jul 6, 2005 #4 egeorgiev Member level 2 Joined Jun 12, 2001 Messages 53 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 259 measuring microseconds in c It is possible, but only within the kernel - so you would need a device driver or some multimedia timer.
measuring microseconds in c It is possible, but only within the kernel - so you would need a device driver or some multimedia timer.
Jul 6, 2005 #5 D dainis Advanced Member level 4 Joined May 15, 2001 Messages 1,125 Helped 53 Reputation 106 Reaction score 9 Trophy points 1,318 Activity points 9,269 c time microseconds necromancer said: is there a function in c that can measure time in microsecond or millisecond in linux Click to expand... PCL - The Performance Counter Library **broken link removed** https://sourceforge.net/projects/oprofile/ https://www.cs.cornell.edu/Courses/cs612/2002SP/assignments/ps1/pmc/pmc.html
c time microseconds necromancer said: is there a function in c that can measure time in microsecond or millisecond in linux Click to expand... PCL - The Performance Counter Library **broken link removed** https://sourceforge.net/projects/oprofile/ https://www.cs.cornell.edu/Courses/cs612/2002SP/assignments/ps1/pmc/pmc.html