This is the mail archive of the libc-alpha@sourceware.org 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]

Re: [RFC] Porting string performance tests into benchtests


> And on sparc chips I don't have the issues that can make the cpu cycle
> counter inaccurate or less usable as a timing mechanism.

On every machine it's a global counter and so it's subject to false
accounting due to process scheduling.  That's what CLOCK_THREAD_CPUTIME_ID
avoids.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]