Quoting r. Grant Grundler <[EMAIL PROTECTED]>:
> Subject: Re: cycles_to_units is incorrect in rdma_lat, rdma_bw.
> 
> On Thu, Jun 09, 2005 at 10:17:33PM -0700, Shirley Ma wrote:
> > > Please provide "cat /proc/cpuinfo" output so I can rule out
> > > broken firmware and look for something else.
> > 
> > processor       : 0
> > cpu             : PPC970, altivec supported
> > clock           : 1600.000000MHz
> > revision        : 2.2
> 
> Ah no wonder...every other arch uses "cpu MHz".
> 
> > I modified the get_cpu_mhz() to for PPC. 
> >         rc = sscanf(buf, "clock : %lf", &m);
> 
> Is 1600Mhz correct? I'm assuming it is.
> Does the attached patch work for you?
> 
> It will allow PPC to change to "cpu MHz" and it will still work.
> Or accomodate other arches that might have cloned PPC code.
> 
> grant

I checked that in.
Thanks!

-- 
MST
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to