im trying to improve performance of pulseview
and therefore i need raw values from the libsigrok driver

my assumptions are
* fixed point math / integer arithmetics is faster than float
* multiplication is faster than division
** slow division can be replaced with fast bitshift
* benefits of float are not needed in my app
  (analog oscilloscope with 8bit vertical resolution, linear data)
* scale and offset calculations should be done only once
  in the whole data pipeline from sensor to GUI (raw to pixel in just one step)
* smaller data types perform better (memory speed)
* fourier transform can be optimized to use the raw datatypes,
  like "kiss fft" for 16bit fixed point FFT
* in a GUI app like pulseview, the real values (voltages)
  are needed much less often than "pixel values"
  so the real values can be calculated on demand

i found this wiki entry
https://sigrok.org/wiki/High_precision_analog
#Exact_representation_of_raw_data_and_metadata

with this link
https://gitorious.org/~mrnuke/sigrok/libsigrok/commits/prec
"for details of implementation proposal"

.. but the link is broken
https --> SSL_ERROR_RX_RECORD_TOO_LONG
http --> Not Found
archive/cache --> not found
other repos --> not found

so my questions are:
1. whats the status of this work?
2. is there code i can reuse?
   (where is the "implementation proposal" by mrnuke?)
3. what are the challenges?
   (or, why is this not implemented yet? except being low priority)


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to