Re: Roundtrip in gdk_flush()
- From: Soeren Sandmann <sandmann daimi au dk>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Roundtrip in gdk_flush()
- Date: 26 Mar 2002 16:38:28 +0100
Owen Taylor <otaylor redhat com> writes:
> (And I can't really think of why they _would_ be drawn more quickly for
> a uniprocessor system.)
>
> Maybe a better metric would be frame rate -- how many times gdk_window_process_all_updates()
> is called per second.
Ok, I tried measuring the average time between the last 100
process_all_updates(), and you are right, there is no substantial
difference (on my uniprocessor system).
Output with gdk_flush():
[...]
average time between gdk_flush()'es: 0.016147
average time between gdk_flush()'es: 0.016238
average time between gdk_flush()'es: 0.016008
average time between gdk_flush()'es: 0.016256
average time between gdk_flush()'es: 0.016021
average time between gdk_flush()'es: 0.016022
Output with XFlush():
[...]
average time between gdk_flush()'es: 0.015598
average time between gdk_flush()'es: 0.015921
average time between gdk_flush()'es: 0.015668
average time between gdk_flush()'es: 0.015967
average time between gdk_flush()'es: 0.015713
average time between gdk_flush()'es: 0.015893
average time between gdk_flush()'es: 0.015634
Søren
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]