[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: High Resolution timers support in Fedora?
- From: Arjan van de Ven <arjanv redhat com>
- To: For testers of Fedora Core development releases <fedora-test-list redhat com>, ernesto ornl gov
- Cc:
- Subject: Re: High Resolution timers support in Fedora?
- Date: Sun, 23 Oct 2005 16:23:59 +0200
On Sun, 2005-10-23 at 09:54 -0400, Ernest L. Williams Jr. wrote:
> Hi,
>
> I would like to play with high resolution timers under linux and GCC.
>
>
> Where is the function "gethrtime()" ?
I think you're sort of are confusing 2 independent things wrt time:
1) getting the current time
gethrtime() is part of that, but in linux gettimeofday() already is
reasonably accurate.
2) scheduling future events with great accuracy
Scheduling an event in the future is called "timer".
Right now linux can achieve a 2msec "resolution" when scheduling such
future events; the ktimer subsystem will increase that resolution
greatly.
Which one of the two do you actually mean/want?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]