libsigrok/src
Gerhard Sittig cd59e6eca1 input/csv: Send larger datafeed chunks, to speedup import
The previous implementation sent one sigrok session datafeed packet per
processed CSV line. This is rather inefficient for the CSV input module,
and triggers a dramatic performance loss in the srzip output format.

Communicate up to 128K samples within one datafeed packet. This fixes
bug #695.

Factor out repeated calculation of the unit size which is derived from
the channel count. Fix a minor memory leak in an error path while we are
here. (Other memory leaks in rare error paths remain with this commit.)

Suggested-By: Elias Oenal <sigrok@eliasoenal.com>
2017-06-08 23:26:47 +02:00
..
dmm ut71x: Fix incorrect resistance values on some DMMs. 2017-05-23 19:38:19 +02:00
hardware Drop trailing whitespace in various files. 2017-06-06 14:10:02 +02:00
input input/csv: Send larger datafeed chunks, to speedup import 2017-06-08 23:26:47 +02:00
lcr sr_serial_dev_inst_free(): Allow NULL as argument. 2017-03-10 11:41:34 +01:00
modbus Drop trailing whitespace in various files. 2017-06-06 14:10:02 +02:00
output Drop trailing whitespace in various files. 2017-06-06 14:10:02 +02:00
scale license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
scpi Drop trailing whitespace in various files. 2017-06-06 14:10:02 +02:00
transform license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
analog.c analog: use SI prefix only with units that accept SI prefixes 2016-10-17 02:24:53 +02:00
backend.c Add APIs to query libsigrok build information. 2017-05-26 18:00:58 +02:00
device.c sr_usbtmc_dev_inst_free(): Allow NULL as argument. 2017-03-10 11:41:34 +01:00
drivers.c Remove some unneeded double-spaces. 2016-08-29 21:51:27 +02:00
error.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
ezusb.c drivers: Load firmware via new resource API 2015-10-01 15:44:55 +02:00
fallback.c Build: Include <config.h> first in all source files 2015-09-13 18:54:46 +02:00
hwdriver.c Add SR_CONF_SIGNAL_GENERATOR. 2017-03-02 15:17:53 +01:00
libsigrok-internal.h serial-dmm: Use a custom dummy struct for m2110. 2017-05-24 19:04:17 +02:00
log.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
resource.c resource: Improve logging output. 2016-09-24 11:41:47 +02:00
scpi.h SCPI: add sr_scpi_write_data() 2017-03-11 13:47:39 +01:00
serial.c Remove some unneeded double-spaces. 2016-08-29 21:51:27 +02:00
session.c session.c: Drop unneeded check. 2016-07-03 16:41:16 +02:00
session_driver.c Virtual session: Workaround for SR_CONF_CAPTUREFILE (#944) 2017-05-21 17:10:38 +02:00
session_file.c Enable loading of session files without total probes defined 2016-03-28 01:06:29 +02:00
soft-trigger.c Build: Include <config.h> first in all source files 2015-09-13 18:54:46 +02:00
std.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
strutil.c Fix sr_period_string() Doxygen comments. 2017-03-08 01:10:39 +01:00
sw_limits.c Remove some unneeded double-spaces. 2016-08-29 21:51:27 +02:00
trigger.c Remove some unneeded double-spaces. 2016-08-29 21:51:27 +02:00
usb.c Drop trailing whitespace in various files. 2017-06-06 14:10:02 +02:00
version.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00