Skip to content
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

reduction of debug output and parsing of all package formats #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chrysn
Copy link

@chrysn chrysn commented Dec 17, 2014

the first two patches reduce the amount of data that gets printed when out of sync, the last one parses the missing formats and adds output for the time stamps

this allows aggregating invalid data (of which typically only the first
and/or last bytes matter).

this patch only changes the format of reporting, and does not include
said output optimizations (in fact, it drops the output of invalid data
completely).
successive messags of invalid frames are aggregated, and output at the
latest possible time (before something else is printed), possibly in
truncated form.
of those, only timestamps are parsed into something usable. extensions
and reserved packages could be parsed a little further, but only to a
meaningless 32bit value.
@karlp
Copy link
Owner

karlp commented Dec 19, 2014

This makes some things better, sure, but I'm still losing sync. Not sure if that's related to this change though. I probably want to somehow get a single line printed when sync is lost, rather than the all or nothing of the original code vs this code :) I've at least managed to get some PC sampling working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants