summaryrefslogtreecommitdiffstats
path: root/src/PAPRStats.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-30 10:06:47 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-30 10:06:47 +0100
commitc56f572c1026a774bcec768821e64ac31354ceff (patch)
tree42119732d24b14f170921bcb5d376d3b27bc556b /src/PAPRStats.h
parent18276a5d2eac39b08caa2ce44e196e7a98f1a108 (diff)
downloaddabmod-c56f572c1026a774bcec768821e64ac31354ceff.tar.gz
dabmod-c56f572c1026a774bcec768821e64ac31354ceff.tar.bz2
dabmod-c56f572c1026a774bcec768821e64ac31354ceff.zip
Clear PAPRStats when config gets changed
Diffstat (limited to 'src/PAPRStats.h')
-rw-r--r--src/PAPRStats.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PAPRStats.h b/src/PAPRStats.h
index 92e5231..86ad8b0 100644
--- a/src/PAPRStats.h
+++ b/src/PAPRStats.h
@@ -66,6 +66,8 @@ class PAPRStats
*/
double calculate_papr(void) const;
+ void clear(void);
+
private:
size_t m_num_blocks_to_accumulate;
std::deque<double> m_squared_peaks;