SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <mainbench.h>
Inherits QObject.
Public Slots | |
void | run () |
Signals | |
void | finished () |
Public Member Functions | |
MainBench (qtwebapp::LoggerWithFile *logger, const ParserBench &parser, QObject *parent=0) | |
~MainBench () | |
Private Member Functions | |
void | testDecimateII (ParserBench::TestType testType=ParserBench::TestDecimatorsII) |
void | testDecimateIF () |
void | testDecimateFI () |
void | testDecimateFF () |
void | testAMBE () |
void | decimateII (const qint16 *buf, int len) |
void | decimateInfII (const qint16 *buf, int len) |
void | decimateSupII (const qint16 *buf, int len) |
void | decimateIF (const qint16 *buf, int len) |
void | decimateFI (const float *buf, int len) |
void | decimateFF (const float *buf, int len) |
void | printResults (const QString &prefix, qint64 nsecs) |
Private Attributes | |
qtwebapp::LoggerWithFile * | m_logger |
const ParserBench & | m_parser |
std::mt19937 | m_generator |
std::uniform_real_distribution< float > | m_uniform_distribution_f |
std::uniform_int_distribution< qint16 > | m_uniform_distribution_s16 |
Decimators< qint32, qint16, SDR_RX_SAMP_SZ, 12 > | m_decimatorsII |
DecimatorsIF< qint16, 12 > | m_decimatorsIF |
DecimatorsFI | m_decimatorsFI |
DecimatorsFF | m_decimatorsFF |
SampleVector | m_convertBuffer |
FSampleVector | m_convertBufferF |
Static Private Attributes | |
static MainBench * | m_instance = 0 |
Definition at line 37 of file mainbench.h.
|
explicit |
Definition at line 29 of file mainbench.cpp.
References m_instance.
MainBench::~MainBench | ( | ) |
Definition at line 41 of file mainbench.cpp.
|
private |
Definition at line 370 of file mainbench.cpp.
References DecimatorsFF::decimate1(), DecimatorsFF::decimate16_cen(), DecimatorsFF::decimate2_cen(), DecimatorsFF::decimate32_cen(), DecimatorsFF::decimate4_cen(), DecimatorsFF::decimate64_cen(), DecimatorsFF::decimate8_cen(), ParserBench::getLog2Factor(), m_convertBufferF, m_decimatorsFF, and m_parser.
Referenced by testDecimateFF().
|
private |
Definition at line 338 of file mainbench.cpp.
References DecimatorsFI::decimate1(), DecimatorsFI::decimate16_cen(), DecimatorsFI::decimate2_cen(), DecimatorsFI::decimate32_cen(), DecimatorsFI::decimate4_cen(), DecimatorsFI::decimate64_cen(), DecimatorsFI::decimate8_cen(), ParserBench::getLog2Factor(), m_convertBuffer, m_decimatorsFI, and m_parser.
Referenced by testDecimateFI().
|
private |
Definition at line 306 of file mainbench.cpp.
References DecimatorsIF< T, InputBits >::decimate1(), DecimatorsIF< T, InputBits >::decimate16_cen(), DecimatorsIF< T, InputBits >::decimate2_cen(), DecimatorsIF< T, InputBits >::decimate32_cen(), DecimatorsIF< T, InputBits >::decimate4_cen(), DecimatorsIF< T, InputBits >::decimate64_cen(), DecimatorsIF< T, InputBits >::decimate8_cen(), ParserBench::getLog2Factor(), m_convertBufferF, m_decimatorsIF, and m_parser.
Referenced by testDecimateIF().
|
private |
Definition at line 210 of file mainbench.cpp.
References Decimators< StorageType, T, SdrBits, InputBits >::decimate1(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_cen(), ParserBench::getLog2Factor(), m_convertBuffer, m_decimatorsII, and m_parser.
Referenced by testDecimateII().
|
private |
Definition at line 242 of file mainbench.cpp.
References Decimators< StorageType, T, SdrBits, InputBits >::decimate1(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_inf(), ParserBench::getLog2Factor(), m_convertBuffer, m_decimatorsII, and m_parser.
Referenced by testDecimateII().
|
private |
Definition at line 274 of file mainbench.cpp.
References Decimators< StorageType, T, SdrBits, InputBits >::decimate1(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_sup(), ParserBench::getLog2Factor(), m_convertBuffer, m_decimatorsII, and m_parser.
Referenced by testDecimateII().
|
signal |
|
private |
Definition at line 402 of file mainbench.cpp.
References ParserBench::getNbSamples(), ParserBench::getRepetition(), and m_parser.
Referenced by testDecimateFF(), testDecimateFI(), testDecimateIF(), and testDecimateII().
|
slot |
Definition at line 44 of file mainbench.cpp.
References finished(), ParserBench::getLog2Factor(), ParserBench::getNbSamples(), ParserBench::getRepetition(), ParserBench::getTestStr(), ParserBench::getTestType(), m_parser, ParserBench::TestAMBE, testAMBE(), testDecimateFF(), testDecimateFI(), testDecimateIF(), testDecimateII(), ParserBench::TestDecimatorsFF, ParserBench::TestDecimatorsFI, ParserBench::TestDecimatorsIF, ParserBench::TestDecimatorsII, ParserBench::TestDecimatorsInfII, and ParserBench::TestDecimatorsSupII.
|
private |
Definition at line 198 of file mainbench.cpp.
References AMBEEngine::scan().
Referenced by run().
|
private |
Definition at line 171 of file mainbench.cpp.
References decimateFF(), ParserBench::getLog2Factor(), ParserBench::getNbSamples(), ParserBench::getRepetition(), i, m_convertBufferF, m_generator, m_parser, m_uniform_distribution_f, and printResults().
Referenced by run().
|
private |
Definition at line 144 of file mainbench.cpp.
References decimateFI(), ParserBench::getLog2Factor(), ParserBench::getNbSamples(), ParserBench::getRepetition(), i, m_convertBuffer, m_generator, m_parser, m_uniform_distribution_f, and printResults().
Referenced by run().
|
private |
Definition at line 117 of file mainbench.cpp.
References decimateIF(), ParserBench::getLog2Factor(), ParserBench::getNbSamples(), ParserBench::getRepetition(), i, m_convertBufferF, m_generator, m_parser, m_uniform_distribution_s16, and printResults().
Referenced by run().
|
private |
Definition at line 74 of file mainbench.cpp.
References decimateII(), decimateInfII(), decimateSupII(), ParserBench::getLog2Factor(), ParserBench::getNbSamples(), ParserBench::getRepetition(), i, m_convertBuffer, m_generator, m_parser, m_uniform_distribution_s16, printResults(), ParserBench::TestDecimatorsII, ParserBench::TestDecimatorsInfII, and ParserBench::TestDecimatorsSupII.
Referenced by run().
|
private |
Definition at line 76 of file mainbench.h.
Referenced by decimateFI(), decimateII(), decimateInfII(), decimateSupII(), testDecimateFI(), and testDecimateII().
|
private |
Definition at line 77 of file mainbench.h.
Referenced by decimateFF(), decimateIF(), testDecimateFF(), and testDecimateIF().
|
private |
Definition at line 74 of file mainbench.h.
Referenced by decimateFF().
|
private |
Definition at line 73 of file mainbench.h.
Referenced by decimateFI().
|
private |
Definition at line 72 of file mainbench.h.
Referenced by decimateIF().
|
private |
Definition at line 71 of file mainbench.h.
Referenced by decimateII(), decimateInfII(), and decimateSupII().
|
private |
Definition at line 67 of file mainbench.h.
Referenced by testDecimateFF(), testDecimateFI(), testDecimateIF(), and testDecimateII().
|
staticprivate |
Definition at line 64 of file mainbench.h.
Referenced by MainBench().
|
private |
Definition at line 65 of file mainbench.h.
|
private |
Definition at line 66 of file mainbench.h.
Referenced by decimateFF(), decimateFI(), decimateIF(), decimateII(), decimateInfII(), decimateSupII(), printResults(), run(), testDecimateFF(), testDecimateFI(), testDecimateIF(), and testDecimateII().
|
private |
Definition at line 68 of file mainbench.h.
Referenced by testDecimateFF(), and testDecimateFI().
|
private |
Definition at line 69 of file mainbench.h.
Referenced by testDecimateIF(), and testDecimateII().