Re: [gtk-list] Select timing, please test this program (was: Signals in Gtk+)
- From: Jan Gentsch <gentsch ifm uni-hamburg de>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Select timing, please test this program (was: Signals in Gtk+)
- Date: Tue, 15 Sep 1998 14:21:50 +0200
Sascha Ziemann wrote:
> Tim Janik <timj@gtk.org> writes:
>
> | since you use system calls like select() or alarm() for your timers
> | anyways, the highest accuracy to gain is 20ms or 50Hz on intel and
> | 10ms or 100Hz on alpha, iirc.
>
> The Intel value is correct, but I have no idea why. Does anybody know?
>
> I got the following results:
>
> Linux Pentium II 333:
> ---------------------
> starting test 1 with 5000 iterations ... done
> starting test 2 with 5000 iterations ... done
> results for: Linux olivia 2.0.35 #13 Tue Aug 18 09:25:29 MEST 1998 i686 unknown
> select without timeout: f1 = 154985.75 Hz d1 = 0.006452 ms
> select without reading: f2 = 49.66 Hz d2 = 20.135937 ms
>
Linux Pentium II 266:
---------------------
starting test 1 with 5000 iterations ... done
starting test 2 with 5000 iterations ... done
results for: Linux atlantic 2.0.35 #136 Mon Jul 27 11:27:51 MEST 1998 i686 unknown
select without timeout: f1 = 129516.99 Hz d1 = 0.007721 ms
select without reading: f2 = 50.00 Hz d2 = 19.998879 ms
Linux Pentium 100
---------------------
starting test 1 with 5000 iterations ... done
starting test 2 with 5000 iterations ... done
results for: Linux suez 2.0.35 #130 Mon Jul 27 11:06:31 MEST 1998 i586 unknown
select without timeout: f1 = 43188.73 Hz d1 = 0.023154 ms
select without reading: f2 = 50.00 Hz d2 = 19.998504 ms
Linux Pentium 150
---------------------
starting test 1 with 5000 iterations ... done
starting test 2 with 5000 iterations ... done
results for: Linux pacific 2.0.35 #142 Mon Jul 27 11:49:42 MEST 1998 i586 unknown
select without timeout: f1 = 58109.75 Hz d1 = 0.017209 ms
select without reading: f2 = 50.00 Hz d2 = 19.998955 ms
Sun (gcc / native wouldn't compile)
--------------------
starting test 1 with 5000 iterations ... done
starting test 2 with 5000 iterations ... done
results for: SunOS ifmsun8 4.1.3 1 sun4m
select without timeout: f1 = 13041.69 Hz d1 = 0.076677 ms
select without reading: f2 = 99.87 Hz d2 = 10.013151 ms
AIX (neither gcc / native would compile)
----------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]