Skip to content

Optimized the ADC code a bit and increased buffer sizes

Jekabs Karklins requested to merge JIRA_issue_DM-771 into master

Created by: SkyToGround

Testing of the ADC pipeline of the EFU code revealed some problems. This pull request is a response to those. The changes are as follows:

  • Increased buffer sizes to allow for jumbo (super jumbo) frames now transmitted by the ADC hardware.
  • Fixed non-working std::move's in order to minimise copying and improve performance.
  • Fixed bug in time stamp calculation.
  • Re-worked algorithm for calculating sample time stamps in order to drastically improve performance.
  • Added unit tests related to time stamp calculation.

Merge request reports