diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-30 10:06:47 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-30 10:06:47 +0100 |
commit | c56f572c1026a774bcec768821e64ac31354ceff (patch) | |
tree | 42119732d24b14f170921bcb5d376d3b27bc556b /src/OfdmGenerator.h | |
parent | 18276a5d2eac39b08caa2ce44e196e7a98f1a108 (diff) | |
download | dabmod-c56f572c1026a774bcec768821e64ac31354ceff.tar.gz dabmod-c56f572c1026a774bcec768821e64ac31354ceff.tar.bz2 dabmod-c56f572c1026a774bcec768821e64ac31354ceff.zip |
Clear PAPRStats when config gets changed
Diffstat (limited to 'src/OfdmGenerator.h')
-rw-r--r-- | src/OfdmGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <cstddef> #include <vector> #include <complex> +#include <atomic> typedef std::complex<float> complexf; @@ -105,6 +106,7 @@ class OfdmGenerator : public ModCodec, public RemoteControllable // Measure PAPR before and after CFR PAPRStats myPaprBeforeCFR; PAPRStats myPaprAfterCFR; + std::atomic<bool> myPaprClearRequest; size_t myMERCalcIndex = 0; std::deque<double> myMERs; |