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

Optimize eumerator of origin device #1984

Merged
merged 1 commit into from Feb 13, 2024
Merged

Conversation

mxi-box
Copy link
Contributor

@mxi-box mxi-box commented Feb 12, 2024

  • Rewrite enumerateDevices: support to enumerate all devices in one call
  • Add enumerateAllDevices to reduce startup period
  • Optimize LimeSDR enumerating by skipping LMS_Init

i have tested it on LimeSDR for all sinks, sources and MIMOs.
it's my first complicated PR, so please feel free to advise or edit.

Add enumerateAllDevices to reduce startup period; Optimize LimeSDR enumerating by skipping LMS_Init
@f4exb
Copy link
Owner

f4exb commented Feb 12, 2024

Seems to me it is working fine

@f4exb f4exb merged commit 0a8b86b into f4exb:master Feb 13, 2024
3 checks passed
@srcejon
Copy link
Collaborator

srcejon commented Feb 13, 2024

Looks like it saves ~6 seconds on start-up time, for the set of SDRs I currently have connected. Thanks!

Next trick might be to try to see if the devices can be detected in parallel :)

@f4exb
Copy link
Owner

f4exb commented Feb 15, 2024 via email

@mxi-box mxi-box deleted the dvc_enum_opti branch February 26, 2024 23:29
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

3 participants