- Services.Do timing

From: Douglas G. Danforth <"Douglas>
Date: Sun, 24 Apr 2005 14:50:35 -0400

----boundary-LibPST-iamunique-1799204785_-_-
Content-type: text/plain

To verify Wojtek's comment about 20 cycles per second of the
Services.DoLater cycle I ran a little program. The reason I did this
was I had remembered a different number from years past but that may
have been using the original Oberon V4 system. Here are my results
which verify Wojtek's

1200 MHZ AMD Athlon processor
n=1000 Services.Do cycles
mean= 50.02 (ticks/cycle)
std= 1.604 (ticks/cycle)
lowerPerSec= 19.37 (cycles/sec)
meanPerSec= 19.99 (cycles/sec)
upperPerSec= 20.65 (cycles/sec)


I agree with W that we need a much higher cycle rate for doing
scientific programming. In fact I am working with Audio right now and
due to a Microsoft restriction that no waveIn system calls can be made
within an installed callback I need to do polling of a flag that is set.
  At 20 cycles/second for polling this forces the buffersize of audio
data to be large so that data is not missed.

-Doug

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1799204785_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFRvIHZlcmlmeSBXb2p0ZWsncyBjb21tZW50IGFi
b3V0IDIwIGN5Y2xlcyBwZXIgc2Vjb25kIG9mIHRoZVxwYXINClNlcnZpY2VzLkRvTGF0ZXIgY3lj
bGUgSS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