Prev: The best linux distribution for server
Next: Did you switch from Windows to Linux? How did you find the process?
From: Antonio Macchi on 23 Dec 2009 03:55 how can I know if my CPU support "Performance counter regsters"?
From: Jasen Betts on 24 Dec 2009 04:53 On 2009-12-23, Antonio Macchi <antonio_macchi(a)alice.it> wrote: > how can I know if my CPU support "Performance counter regsters"? cat /proc/cpuinfo I'm guessing it's "arch_perfmon" on the "flags" line --- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
From: Antonio Macchi on 24 Dec 2009 05:33
Jasen Betts wrote: > On 2009-12-23, Antonio Macchi <antonio_macchi(a)alice.it> wrote: >> how can I know if my CPU support "Performance counter regsters"? > > cat /proc/cpuinfo > > I'm guessing it's "arch_perfmon" on the "flags" line > it seems so... thanks this is the line in cpufeature.h (inside the kernel tree) $ grep ARCH arch/x86/include/asm/cpufeature.h #define X86_FEATURE_ARCH_PERFMON (3*32+11) /* Intel Architectural PerfMon */ #define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON) (Architectural Performance Monitornig...) thanks |