[Oberon] Input.Time

Pieter Muller pieter.muller at alumni.ethz.ch
Thu Jan 23 23:09:20 CET 2003


Gérard Meunier wrote:
> I've done some time measurements of program runs on Bluebottle, and I'm not
> sure that Input.Time() works correctly. I don't know if this fact is
> important, but my program uses the gc a lot. I find a discrepancy of ten
> times, more or less, between my watch (~ 60 s) and Input.Time() (6 s). My
> config string contains the item 'MHz="600"', which is right.
> Any ideas ?

The current garbage collector disables interrupts, so the timer won't 
run during that time.

-- Pieter




More information about the Oberon mailing list