Thank you for reply!
When I was dealing with Windows, M$ also told me that the system clock has a limit so the timer can only be triggered at a quite slow speed.
According to
http://msdn.microsoft.com/en-us/library ... 10%29.aspx :
Code: Select all
When run on a Windows 7 system whose system clock has a resolution of approximately 15 milliseconds
So Windows won't able to generate more than 67 timer events if I use the System.Timers.Timer class.
I quite agree that maybe this is only an OS thing and has nothing to do with CPU. I'm asking this because the "man htc" page said "On Intel" explicitly.
I think I'll try the value 100 timer events per second, and monitor it to see what's going on.
And I'm only using Pi to shape the traffic in my dorm, I think Pi is fast enough, as there are only 3 people sharing a 4MB internet connection. Anyway, I think even if I find out that it's too slow, I learnt something. So I'll try it to see how it's going. Thanks for noting me.
Again, thank you!