ngscopeclient / scopehal

Test and measurement hardware abstraction library and protocol decodes. This is the library only. Most users should use scopehal-apps.
BSD 3-Clause "New" or "Revised" License
216 stars 97 forks source link

Add support to clear stats when a filter is reconfigured. #694

Open MugheesChohan opened 2 years ago

MugheesChohan commented 2 years ago

The statistics filter continuously calculates the average, max and minimum. If a filter's input parameters change on the fly, the past values are still used to calculate the averages. Maximum and minimum values remain the same as with previous parameters settings which feels a bit bad. There should be a way to reset statistics.