2002-08-01 16:39:07

by Chris Friesen

[permalink] [raw]
Subject: Re: [rfc] aio-core for 2.5.29 (Re: async-io API registration for2.5.29)

Linus Torvalds wrote:

> The only thing that I think makes it less than wonderful is really the
> fact that we cannot give an accurate measure for it. We can _say_ that
> what we count in microseconds, but it might turn out that instead of the
> perfect 1000000 ticks a second ther would really be 983671 ticks.

Would there be any benefit to using processor timestamps (rdtsc and friends) for
this if they are available? I don't know the complexities of the interaction
with power management, that might make it infeasable.

Chris

--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: [email protected]