From c56f572c1026a774bcec768821e64ac31354ceff Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 30 Dec 2017 10:06:47 +0100 Subject: Clear PAPRStats when config gets changed --- src/OfdmGenerator.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/OfdmGenerator.h') diff --git a/src/OfdmGenerator.h b/src/OfdmGenerator.h index 8374cf9..cccccf5 100644 --- a/src/OfdmGenerator.h +++ b/src/OfdmGenerator.h @@ -37,6 +37,7 @@ #include #include #include +#include typedef std::complex complexf; @@ -105,6 +106,7 @@ class OfdmGenerator : public ModCodec, public RemoteControllable // Measure PAPR before and after CFR PAPRStats myPaprBeforeCFR; PAPRStats myPaprAfterCFR; + std::atomic myPaprClearRequest; size_t myMERCalcIndex = 0; std::deque myMERs; -- cgit v1.2.3