Agora  1.2.0
Agora project
test_modulation.cc File Reference

Testing functions for benchmarking modulation routines. More...

#include <iostream>
#include "gettime.h"
#include "memory_manage.h"
#include "message.h"
#include "modulation.h"
#include "utils.h"
Include dependency graph for test_modulation.cc:

Functions

void flushCache ()
 
static double get_time ()
 
static double bench_mod_16qam (unsigned iterations, unsigned mode)
 
static double bench_mod_64qam (unsigned iterations, unsigned mode)
 
int hammingdist (uint8_t x, uint8_t y)
 
void printbits (uint8_t x)
 
static double bench_mod_256qam (unsigned iterations, unsigned mode)
 
static void run_benchmark_16qam (unsigned iterations, unsigned mode)
 
static void run_benchmark_64qam (unsigned iterations, unsigned mode)
 
static void run_benchmark_256qam (unsigned iterations, unsigned mode)
 
int main (int argc, char *argv[])
 

Detailed Description

Testing functions for benchmarking modulation routines.

Function Documentation

◆ bench_mod_16qam()

static double bench_mod_16qam ( unsigned  iterations,
unsigned  mode 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_mod_256qam()

static double bench_mod_256qam ( unsigned  iterations,
unsigned  mode 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_mod_64qam()

static double bench_mod_64qam ( unsigned  iterations,
unsigned  mode 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flushCache()

void flushCache ( )

◆ get_time()

static double get_time ( )
static
Here is the caller graph for this function:

◆ hammingdist()

int hammingdist ( uint8_t  x,
uint8_t  y 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ printbits()

void printbits ( uint8_t  x)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_16qam()

static void run_benchmark_16qam ( unsigned  iterations,
unsigned  mode 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_256qam()

static void run_benchmark_256qam ( unsigned  iterations,
unsigned  mode 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_64qam()

static void run_benchmark_64qam ( unsigned  iterations,
unsigned  mode 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: