Supply the segment ID when adding samples to optimize trace painting
authorSoeren Apel <soeren@apelpie.net>
Fri, 5 Jan 2018 19:48:20 +0000 (20:48 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Tue, 9 Jan 2018 23:34:39 +0000 (00:34 +0100)
Use case is as follows:
- Capture 20+ segments with ~500kS each
- Afterwards, enable conversion for a channel

Without this change, the converted logic will be repainted
20++ times because we are only told that new samples were
added but not which segment.

With this change, the logic trace is only painted when we
see that samples were added to the segment we're showing.


No differences found