]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Make note of off-by-one being OK
authorscipio <scipio>
Wed, 27 Jan 2010 04:56:22 +0000 (04:56 +0000)
committerscipio <scipio>
Wed, 27 Jan 2010 04:56:22 +0000 (04:56 +0000)
apps/tests/TestSimTimers/README

index 3f25018c3d12bcb50df2d83a7c26335423ce6e63..65f8f369af05e7e11f0dccc4cefb5b57cb8545ec 100644 (file)
@@ -23,10 +23,14 @@ DEBUG (0): Timer A is good @ 0:10:1.837925167.
 DEBUG (0): Timer A is good @ 0:10:2.837925167.
 DEBUG (0): Timer A is good @ 0:10:3.837925167.
 
-If there is a timer bug, then the output will read
+If a timer is off, then the output will read
 
 DEBUG (0): Timer A is off. Should have fired in X, fired in Y @ Z.
 
+Note that if a timer is off by 1, the timer is still operating
+correctly. The way the atm128 counter registers work mean that you
+can't schedule very short timers, so sometimes the code needs to
+make it one tick longer.
 
 Tools: