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

Smarter way of speeding up qdac #737

Merged
merged 2 commits into from
Sep 14, 2017

Conversation

jenshnielsen
Copy link
Collaborator

As suggested by @WilliamHPNielsen
Rather than disabling the second write this concatenates the commands and counts the numbers
of reads to perform afterwards.

Both the new and old way has the same speedup from 32 to 16 ms for a single set command

both the new and old way

has the same speed up from 32 to 16 ms
commands are concatenated by `;` we count the number of concatenated
commands as count(';') + 1 e.g. 'wav 1 1 1 0;fun 2 1 100 1 1' is two
commands. Note that only the response of the last command will be
available in `_write_response`

TODO (WilliamHPNielsen): add automatic de-concatenation of commands.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR just does that: it adds automatic de-concatenation (or at least something equivalent). This TODO should thus be removed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

@WilliamHPNielsen WilliamHPNielsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I say we merge!

@WilliamHPNielsen WilliamHPNielsen merged commit b09d2ed into microsoft:master Sep 14, 2017
giulioungaretti pushed a commit that referenced this pull request Sep 14, 2017
Author: Jens Hedegaard Nielsen <jenshnielsen@gmail.com>

    Smarter way of speeding up qdac (#737)
@jenshnielsen jenshnielsen deleted the smarterqdacspeedup branch September 14, 2017 12:57
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.

None yet

2 participants