jiffies gtk_main_iteration

2013-09-08 Thread Joël Krähemann
hi in how many jiffies should gtk_main_iteration be called? bye Joël ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: jiffies gtk_main_iteration

2013-09-08 Thread Emmanuele Bassi
hi; On 8 September 2013 22:09, Joël Krähemann weedli...@gmail.com wrote: in how many jiffies should gtk_main_iteration be called? the correct reply would be: what do you mean?, but I guess I'll need some clarification first - i.e. what are you trying to accomplish, and why do you think

Re: jiffies gtk_main_iteration

2013-09-08 Thread Joël Krähemann
Hi thank you for your response and interest. Time measurements are done with jiffies as unit on GNU/Linux. This depends on timer frequency from 100 up to 1000 Hz. I'd really like to know how much computing time does gtk+ need to do its job. I have something like the following and want to know

Re: jiffies gtk_main_iteration

2013-09-08 Thread Joël Krähemann
Hi, I solved the problem by introducing a macro #define AGS_GUI_THREAD_DEFAULT_JIFFIE 200 to calculate timing like gui_thread-frequency = 1.0 / (1.0 / (double) AGS_DEVOUT_DEFAULT_SAMPLERATE * (double) AGS_DEVOUT_DEFAULT_BUFFER_SIZE) * (1.0 / (double) AGS_GUI_THREAD_DEFAULT_JIFFIE);