lkml.org 
[lkml]   [1997]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: loops_per_sec
Date
Martin Mares writes:
[snip]
> I don't understand why udelay() is inline -- IMHO it would be useful
> to make it a standard function using loops_per_sec on [34]86's and
> the cycle counter on 586+. Another possibility is to read current
> value of the hardware timer instead. This would eliminate all the
> udelay alignment problems discussed some time ago.
[snip]

One reason that comes to mind is that we don't know the timing of the
function call and return, though I doubt they are significant in most
cases.
--
Paul H. Hargrove All material not otherwise attributed
hargrove@sccm.stanford.edu is the opinion of the author or a typo.

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.032 / U:1.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site