This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Paul Mackerras wrote: > On reflection, I guess you are thinking of the RTC registers in the > 601, which was different No, I wasn't. > All 64-bit PowerPC machines have a timebase register, which is a > simple 64-bit binary counter which increments at a constant frequency > and can be read with the mftb instruction. So it should be OK to use > it for the hp-timing facility for powerpc64. Once the code gets the appropriate scaling (i.e., multiply by the factor for the CPU) I have no problems. Stuff the value into the vdso if possible since the /proc reading is rather expensive (but necessary unless the vdso has the value). -- â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |