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

Andi Kleen
2007-08-01T09:59:19Z

Christoph Lameter <clameter@sgi.com> 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