[Haskell-cafe] Re: System.CPUTime and picoseconds

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Jan 11 16:42:17 EST 2009


On Sun, 2009-01-11 at 21:41 +0100, Peter Verswyvelen wrote:
>         Let's assume you were joking, but just in case you were not...
> 
> 
> Why this hostile tone? I didn't mean to be offensive.

I'm sorry, I did not intend it to sound hostile. I mis-interpreted the
"..." at the end of your sentence. Some people sometimes use this to
indicate they're making a joke suggestion.

> 
>         Clock speed is variable on all modern CPUs. In low power
>         states some CPUs can turn off the clock completely. In some
>         CPUs the clock speed is variable per-core and some can turn
>         off one core without turning off all cores. Relating clock
>         ticks to time is a minefield.
> 
> 
> Yes I know that. I just meant having something that returns a number
> of ticks (not real CPU ticks, mea culpa) and the ticks itself. That
> would make it unit independent no?

I guess so.

Duncan




More information about the Haskell-Cafe mailing list