lkml.org 
[lkml]   [2007]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] All Transmeta CPUs have constant TSCs
dean gaudet wrote:
> On Mon, 8 Jan 2007, H. Peter Anvin wrote:
>
>> I *definitely* support the concept that RDPMC 0 should could CPU cycles by
>> convention in Linux.
>
> unfortunately that'd be very limiting and annoying on core2 processors
> which have dedicated perf counters for clocks unhalted (actual vs.
> nominal), but only 2 configurable perf counters. i forget what ecx value
> gets you the dedicated counters... but a solution which might work would
> be a syscall to return the perf counter number...
>
> or we could just merge perfmon ;)
>

OK, if there are dedicated counters in hardware at a different number,
we probably should make it an ELF entry value (no need to make it a
syscall for a constant.)

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

\
 
 \ /
  Last update: 2007-01-09 01:35    [W:0.017 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site