Page 1 of 1

Using various timer at once...

PostPosted: Sun Sep 20, 2015 11:42 pm
by tioemo
Hi
It can affect the performance of the computer using various timer at once?
Thanks

Re: Using various timer at once...

PostPosted: Mon Sep 21, 2015 5:50 am
by Gaev
tioemo:

It depends on ...

- how many timers
- the timer intervals
- the amount of processing at each interval

... perhaps you can provide some examples of your intended usage.

Re: Using various timer at once...

PostPosted: Mon Sep 21, 2015 11:46 am
by tioemo
Hi,

It depends on ...

- how many timers

- Only two
- the timer intervals
- 1000 milleseconds
- the amount of processing at each interval
Compare the current time with some variables and display a message when it matches.
It is an application to manage two alarms

Thanks

Re: Using various timer at once...

PostPosted: Mon Sep 21, 2015 12:07 pm
by stu
I just put 10 timers on a pub, 5 set to 1 minute and 5 set to 1 second and got no overhead whatsoever...

http://pasteboard.co/OokMVLX.png

http://pasteboard.co/OonGcpR.png

http://pasteboard.co/Oop9zJe.png

http://pasteboard.co/OosNoeQ.png

Re: Using various timer at once...

PostPosted: Mon Sep 21, 2015 2:27 pm
by Gaev
- how many timers
- Only two

- the timer intervals
- 1000 milleseconds

- the amount of processing at each interval
Compare the current time with some variables and display a message when it matches.
It is an application to manage two alarms

As shown by stu ... there would be no noticeable impact on the performance of the computer.