Hi,
I wanted my timeout function to be called 200 times per second.
Another words, my timeout function to be called every 5 miliseconds.
why? what's the actual problem behind it?
It's a simulator of a measuring device where the sampling rate is fixed at 200Hz. I
want to draw the
Hi,
Thanks for all your answers, you've been very helpful. I think I got the basic idea
and I'll be able to carry on now.
I do not know your background, Krisz, but this is pretty
much a homework lesson done on realtime university courses.
I wish my university did realtime programming
On Sat, 11 Jan 2003 13:53:27 +0100, Krzysztof Dubowik said:
It's a simulator of a measuring device where the sampling rate is fixed at
200Hz. I want to draw the graph at real-time - 1 pixel per 5ms.
Optimization 1: Remember that the actual monitor probably won't be refreshing
any faster than
It's a simulator of a measuring device where the sampling rate is fixed at 2
00Hz.
I want to draw the graph at real-time - 1 pixel per 5ms.
Well, Krisz, there is no realtime anyway. The x11 display system is
strictly decoupled from your program, draw requests will not draw
on the screen but
[ i am assuming that you are working on linux, which might be a big
assumption. if not, then ignore all that i write here. ]
you're using a multitasking, multiuser operating system with a
scheduling granularity of 10ms. the kernel will to honor the 5ms
request but will fail to
,
meaning within another year, this won't be an issue.
Rich
-Original Message-
From: Krzysztof Dubowik [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 3:03 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems with fast timeouts
[ i am assuming that you are working on linux
I am poting my application from Windows MFC (where is does happily 5ms timeout
s) to Linux. I would rather have my application to run on a standard kernel, s
o what's the solution? Where do I learn about realtime scheduling?
well, the standard kernel is about to move to HZ=1000 (2.5 changed
this,
Krzysztof Dubowik schrieb:
Hi,
I wanted my timeout function to be called 200 times per second.
Another words, my timeout function to be called every 5 miliseconds.
why? what's the actual problem behind it?
___
gtk-list mailing list
[EMAIL
Am Sonntag, 5. Januar 2003 01:40 schrieb Paul Davis:
I wanted my timeout function to be called 200 times per second. Another
word s, my timeout function to be called every 5 miliseconds. However,
when I mesur ed the intervals with gettimeofday I found out that the
timeout function was c
I wanted my timeout function to be called 200 times per second. Another word
s, my timeout function to be called every 5 miliseconds. However, when I mesur
ed the intervals with gettimeofday I found out that the timeout function was c
alled ca every 20ms. My timeout function exectutes within
10 matches
Mail list logo