Aquaq timer question

Has anyone used the aquaq timer.q script?

I am trying to use the .timer.one function but cant seem to get it to run my function at the exact start time, is this by design?

.timer.one[timestamp$2015.02.10T16:50:00;(test;);“test”;0b];`

seems to always run my `test function after the given timestamp by a few seconds, which seems to very every time I restart

The TorQ timer function is wrapped inside .z.ts, so check that your timer \t is not greater than the TorQ default of 200 ms.

Thanks Glen,is there a consequence of setting \t to 1?

I assume that you mean 1 millisecond and not 1 second.

If so, the timer will run its checks every 1ms which could mean increased overhead depending on the use case.

Yea I meant 1ms, right so the Aquaq default \t is 200ms, so basically every 200ms after the start time there’s a check to see if the function should be run?  And 200ms is fairly safe and wont cause too much overhead?

Thanks Glen!

Exactly! 
Works great for most applications, though if there is a function that needs to be repeated sub 500ms, we recommend against it.

Cheers Roni