Re: [PATCH 2/7] Simple Performance Counters: x86_64 support

From: Christoph Lameter
Date: Wed Aug 01 2007 - 13:52:39 EST


On Wed, 1 Aug 2007, Andi Kleen wrote:

> Christoph Lameter <clameter@xxxxxxx> writes:
>
> > Export cycles_to_ns (after renaming the cycles_2_ns to cycles_to_ns to be
> > conforming to other arches).
>
> This function is broken in some cases (e.g Opteron with powernow or
> AMD dual core or older Intel systems) and going away. The TSCs tick
> with different frequencies on different CPU there. In general i would
> recommend to only report cycles.

But then the numbers are not comparable across systems.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/