Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] timing for geeks II.
- Date: Tue, 6 Dec 2005 22:22:53 +0900
- From: Ian Wells <ijw@example.com>
- Subject: Re: [tlug] timing for geeks II.
- References: <20051202154627.GB4348@example.com> <20051202152527.302e2f6f.jep200404@example.com> <20051203122655.GG4348@example.com> <20051203092314.3118db01.jep200404@example.com> <20051204100726.GH4348@example.com> <30ce84360512040313l351f16c4r1872cb4f6f34679e@example.com> <20051206082734.GB4319@example.com>
On 12/6/05, Michal Hajek <hajek1@example.com> wrote:Hello :)
Having cleared the issue with printf() :) and ftime() vs. gettimeofday(),
I would like to make a step further and address the problem of
gettimeofday() vs. clock_gettime() and, perhaps separately, clock_getres().
Of course, Ian Wells was writing about this all the time, unfortunatly,
I was bussy with printf() (sorry). :
clock_gettime might not be as portable, but it doesn't change when ntp or anything else todges (technical term) your clock. Thus, it ought to be what you want. Probably not as portable, however, since I'd never heard of it before this week...
* I am not an expert on timing. This is based on the references other people have waving about. And if your PC has an appallingly bad crystal it will go wrong, but if that's the case you're screwed anyway ;-)
--
Ian.
- References:
- [tlug] timing for geeks :)
- From: Michal Hajek
- Re: [tlug] timing for geeks
- From: Jim
- Re: [tlug] timing for geeks
- From: Michal Hajek
- Re: [tlug] A Rich Experiment Indeed
- From: Jim
- Re: [tlug] A Rich Experiment Indeed
- From: Michal Hajek
- Re: [tlug] A Rich Experiment Indeed
- From: Ian Wells
- Re: [tlug] timing for geeks II.
- From: Michal Hajek
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] TLUG List Archives
- Next by Date: Re: [tlug] TLUG List Archives
- Previous by thread: Re: [tlug] timing for geeks II.
- Next by thread: Re: [tlug] It's time_t to Party!
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links