Re: COBOL Time of Day in micro-seconds or nano-seconds
On Fri, 30 May 2008 09:03:32 -0500, "HeyBub" <heybub@xxxxxxxxxxxxxxx>
wrote:
On PCs, the best resolution is ghastly, I think it's 16 milliseconds. But
whatever, you're limited to the resolution of the CPU's timer.
Although with any virtual environment, asking for better resolution
is kind of moot.
.
Relevant Pages
- Re: [patch 00/21] hrtimer - High-resolution timer subsystem
... Right now the primary function of the state is to tell whether the timer ... > Of course if you consider the possibility of including high resolution ... problem requires solving problems in the clock abstraction first, ... (Linux-Kernel) - Re: [patch 00/21] hrtimer - High-resolution timer subsystem
... >> This way the list head is only necessary for the high resolution case. ... > (e.g. wakeup + timer restart). ... Even if the clock ... (Linux-Kernel) - Re: [PATCH] ktimers subsystem 2.6.14-rc2-kt5
... >>The cleanup I pointed out for the posix timer interval timers is pretty ... >>the posix timer structure. ... The rounding to the resolution value is explicitly required by the ... This says a) round to the next resolution, and b) don't allow the resulting timer to expire early. ... (Linux-Kernel) - Re: [PATCH] ktimers subsystem 2.6.14-rc2-kt5
... > a clock with a better resolution. ... > resolution than the physical clock has. ... reaches this count the timer is expired. ... OTOH We could also do this at the timer interrupt: ... (Linux-Kernel) - Re: VB6 code runs different speeds on different PCs
... As you've discovered, the minimum Sleep period can be different on different machines (5 milliseconds on my own WinXP system, but longer than that on others I think). ... You can get whatever "game rate" you want in a closed loop of course, by checking a high resolution timing source. ... If I were you I would use a proper Timer with a higher resolution that the standard VB Timer and run your entire game in the Timer event. ... Admittedly, updating their positions more than once every ten milliseconds does appear to give smoother animation (even though the video frame rate simply cannot draw a new frame at a rate greater than every 10 milliseconds,or so, depending on your display settings) because it tends iron out the differences more. ... (microsoft.public.vb.general.discussion) |
|