public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] regarding  microsec delay
@ 2001-04-25 22:44 Natarajan, Mekala (CTS)
  2001-04-26 11:12 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Natarajan, Mekala (CTS) @ 2001-04-25 22:44 UTC (permalink / raw)
  To: ecos-discuss; +Cc: 'gthomas@redhat.com'

Hi,

What is the minimum delay that I can specify by using the function  -
hal_delay_us()

If I use a tick value of 10millisec can I use the above function to get
delays of less than 10millisec ?
Or the value taken by hal_delay_us() is independent of the value of the tick
used.

Regards,
Mekala Natarajan

 

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

		Visit us at http://www.cognizant.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] regarding  microsec delay
  2001-04-25 22:44 [ECOS] regarding microsec delay Natarajan, Mekala (CTS)
@ 2001-04-26 11:12 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-04-26 11:12 UTC (permalink / raw)
  To: Natarajan, Mekala (CTS); +Cc: ecos-discuss

"Natarajan, Mekala (CTS)" wrote:
> 
> Hi,
> 
> What is the minimum delay that I can specify by using the function  -
> hal_delay_us()
> 
> If I use a tick value of 10millisec can I use the above function to get
> delays of less than 10millisec ?
> Or the value taken by hal_delay_us() is independent of the value of the tick
> used.

The answer is definitely platform-dependent, but in most cases, yes it will
give you higher granularity than the clock tick because it actually reads
the value of the underlying timer which is normally at a much higher
frequency. 

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-26 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-25 22:44 [ECOS] regarding microsec delay Natarajan, Mekala (CTS)
2001-04-26 11:12 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).