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);

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 ho

Re: jiffies gtk_main_iteration

2013-09-08 Thread Emmanuele Bassi
hi; On 8 September 2013 22:09, Joël Krähemann 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 gtk_main_iteration() is