JS8Call-Improved master
Loading...
Searching...
No Matches
decoder_comparison_benchmark.cpp File Reference

Paired waveform benchmark for master and experimental JS8 decoders. More...

#include <QCoreApplication>
#include <QLoggingCategory>
#include <algorithm>
#include <array>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <limits>
#include <memory>
#include <mutex>
#include <numbers>
#include <random>
#include <set>
#include <stdexcept>
#include <string>
#include <string_view>
#include <sys/resource.h>
#include <vector>
#include "JS8_Include/commons.h"
#include "JS8_Mode/JS8.h"
#include "../JS8_Mode/JS8.cpp"
Include dependency graph for decoder_comparison_benchmark.cpp:

Macros

#define JS8_COMPARISON_LABEL   "working"

Functions

int main (int argc, char **argv)

Variables

struct dec_data dec_data
struct specData specData
std::mutex fftw_mutex

Detailed Description

Paired waveform benchmark for master and experimental JS8 decoders.

Compile twice with target-specific include paths and moc files. Define JS8_COMPARISON_SOURCE to the absolute target JS8.cpp path and JS8_COMPARISON_LABEL to identify the build. Each trial resets decoder state; default combining remains active within that trial. Timing excludes waveform synthesis, FFT plan construction and destruction. Optional work has no live queue deadline in this synchronous DSP benchmark.

Usage: decoder_comparison_benchmark sensitivity|weak-reference|weak-display| impairments|collisions|noise|acquisition|point [trials=100] [A|B|C|E|I|all=all] A single "point" accepts additional [binSnr=8] [firstTrial=0] arguments. binSnrDb is nominal matched-symbol SNR. referenceSnrDb uses 2500 Hz of white-noise power; reportedSnrDb is the decoder estimate for a correct payload (NaN on a miss), not a label assigned to failed trials.