-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement frame rate monitor #88
Comments
This is really there to check we are not overloading the cpu and slowing loop calls down. |
Which loop would you measure ? there are many loops at the end all trying to play nice with each other but still you may get fluctuations in the 'frame-rate'. Giving the fact that 99% of all users may not have an Ozilloscope isn't that more a feature for development ? What would be the use case i.e. why as a user I would/do need it ? |
Not really a user thing... more for developers to check they have not introduced a problem delay in the loop.On 22 Nov 2020 20:37, Gregor Baues <[email protected]> wrote:
Which loop would you measure ? there are many loops at the end all trying to play nice with each other but still you may get fluctuations in the 'frame-rate'. Giving the fact that 99% of all users may not have an Ozilloscope isn't that more a feature for development ? What would be the use case i.e. why as a user I would/do need it ?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Interestingly, the main track sentResetsSincePacket counter can be used to detect loop speed issues as this indicates that the reminder code is not being called often enough to keep the waveform busy. (Assuming at least 1 loco in reminders) |
Interestingly... once there is at least one loco in the reminders table, then the existing idle/reset counter for the main track will only increase if fhe main loop is too slow to keep the waveform supplied with reminder packets. Being able to display this value would be useful and easy. |
I believe that the loop time monitor in CS may fulfil the original request here. It is enabled by |
* Fix broken internal links * Use :doc: and :ref: for internal links Sphinx will check them and they will work for builders other than HTML. * Fix WARNING: Duplicate explicit target name: "here". * Fix section headings * Suppress autosectionlabel warnings WARNING: undefined label: * Exclude placeholder pages * Fail build on Sphinx warnings But only after getting to the end to allow all problems to be reported. * Fix WARNING: Explicit markup ends without a blank line; unexpected unindent. Co-authored-by: Kebbin <[email protected]> Co-authored-by: Fred <[email protected]>
From #66
The text was updated successfully, but these errors were encountered: