LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Evan Bourlotos <evan@cs.adelaide.edu.au>
To : David Newall <davidn@rebel.net.au>
Date: Mon, 05 Jun 2000 12:55:37 +0900
Re: High resolution C timer
Thanks!
At 12:51 PM 6/5/00 +0930, David Newall wrote:
>Evan Bourlotos <evan@cs.adelaide.edu.au> wrote:
>> Does anyone know of a high resolution timer available in GCC?, time and
>> clock are not good enough for my needs.
>
>Did you mean timer or time? Using "man -k timer" yields "setitimer(2) -
>set value of an interval timer." It apparently provides microsecond
>timers, but read the caveats carefully. If you meant time look at ftime(3)
>or getrusage(2). As is often the case, these answers were readily found in
>the manual.
>
>Remember that Linux is not a real real-time operating system, and if you
>might not enjoy great repeatability at millisecond resolution.
>
>
>
+------------------------------------------------------------------------+
| Evan Bourlotos Email: evan@cs.adelaide.edu.au |
| Masters Student WWW: http://www.cs.adelaide.edu.au/~evan |
| University of Adelaide Phone: +61 8 8234 5522 (Work) |
| South Australia 5005 Fax: +61 8 8234 5530 (Work Fax) |
+------------------------------------------------------------------------+
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page