This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Some (small) c++ compilation profiling data (oprofile)
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Will Cohen <wcohen at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 17 May 2002 20:13:50 +0200 (CEST)
- Subject: Re: Some (small) c++ compilation profiling data (oprofile)
On Fri, 17 May 2002, Will Cohen wrote:
> What kind of processor does oprofile think the machine has? The
> following command should return a number:
>
> cat /proc/sys/dev/oprofile/cpu_type
I have IBM T22
thinkpad:~$ cat /proc/sys/dev/oprofile/cpu_type
4
thinkpad:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 10
cpu MHz : 995.685
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1985.74
> the processor. If oprofile cannot identify the processor, it assumes
> CPU_RTC (should be "4"). The /proc/cpuinfo should provide some clues
Yes, it's my case.
Cheers,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com