On Tue, Aug 28, 2001 at 12:28:53AM +0200, Andreas Beck wrote:
> > Anyone got a good reference on the cycle cost of function
> > call overhead (compared by CPU family would be nice)?  I try 
> > to figure it out myself, but am afraid that gcc is out-thinking me.
> 
> O.K. - I did a small test:
[...]
> 1000000000:       14.975934
> 2000000000:        8.860147
> 
> That seems to say that a normal function call uses 6.115787*10^-9 seconds

When everything is in the caches, which is mostly the case but not the worst
case.

Nicholas

-- 
Alc�ve Technical Manager - [EMAIL PROTECTED] - http://www.alcove.com
Open Source Software Developer - [EMAIL PROTECTED]

Reply via email to