-
Notifications
You must be signed in to change notification settings - Fork 477
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
RTT: search for RTT control block in smaller chunks #1375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding your copyright at the end of the existing copyrights in the file header comment? No other requested changes—looks great! 😄
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
this speeds up the searching dramatically since it will read and search 1024 bytes at the time instead of reading all memory on the device. Signed-off-by: Johan Carlsson <johan.carlsson@teenage.engineering>
5ba77b2
to
762b09a
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks for adding your copyright! |
this speeds up the searching dramatically since it will read and search 1024 bytes at the time instead of reading all memory on the device. Signed-off-by: Johan Carlsson <johan.carlsson@teenage.engineering> Co-authored-by: Johan Carlsson <johan.carlsson@teenage.engineering>
@te-johan Fyi, so you're not surprised, I moved this commit over to the |
recently started using pyOCD and noticed that RTT searched for the control block rather slow.
when testing on my device to took 0.3 seconds to find it compared to 4.3 seconds before this commit.