Page 1 of 1

Author:  hidnplayr [ Thu Sep 04, 2008 11:51 pm ]
Post subject:  nanosleep

I'd need a kernel function to wait 100 microseconds.
So i want the kernel to do something else for 100uS and then return to my program, is it possible?

any help would be apreciated

Author:  hidnplayr [ Fri Sep 05, 2008 12:42 pm ]
Post subject:  Re: nanosleep

Ok, i apparantly have found another way around this problem.
My idea was probably silly anyway :)

Author:  Mario [ Sat Apr 07, 2012 4:19 am ]
Post subject:  Re: nanosleep

f.68.1 likely to help? But it is not guaranteed.

Better late than never. :wink:

Author:  hidnplayr [ Sat Apr 07, 2012 11:08 am ]
Post subject:  Re: nanosleep

IIRC, this question was related to in-driver code. The solution I remember was to read a reg from the PCI device, it always takes a certain amount of time.

Author:  art_zh [ Sat Apr 07, 2012 11:26 am ]
Post subject:  Re: nanosleep

A driver can read available system real-time resources easily.

rdtsc for shortest (sub-microsecond) delays, or
northbridge realtime counters (1-100 microseconds)

Page 1 of 1 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited