This is the mail archive of the
mailing list for the glibc project.
Re: [patch] hp-timing for powerpc64
On Sat, 2005-06-18 at 18:39 +0200, matthieu castet wrote:
> Ulrich Drepper wrote:
> > Paul Mackerras wrote:
> >>Do we use rdtsc on x86 machines? If not rdtsc, what do we use?
> > Yes, we do, but at least it means that each unit is one cycle of t he
> > CPU which then can be translated into seconds. From what I know this
> > isn't the case with mftb, where different implementations increment the
> > counter differently.
> the timebase for converting ppc timestamp into second are avaible in
> I don't know how the linux kernel compute it (a grep ppc_tb_freq
> arch/ppc64/kernel should provide some info).
Parsing /proc is ugly though ... It would be useful to add something
nicer, like a vDSO entry point exposed by glibc or something like