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

From: Andi Kleen
Date: Wed Aug 01 2007 - 05:59:21 EST


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.

-Andi
-
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/