benchmark_vco.cc File Reference

#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
#include <gr_vco.h>
#include <gr_fxpt_vco.h>
#include <cstring>

Include dependency graph for benchmark_vco.cc:


Defines

#define ITERATIONS   5000000
#define BLOCK_SIZE   (10 * 1000)
#define FREQ   5003.123
#define K   4.9999999
#define AMPLITUDE   2.444444444

Functions

void basic_vco (float *output, const float *input)
void native_vco (float *output, const float *input)
void fxpt_vco (float *output, const float *input)
void nop_fct (float *x, const float *y)
void nop_loop (float *x, const float *y)
int main (int argc, char **argv)

Define Documentation

#define AMPLITUDE   2.444444444

Referenced by basic_vco(), fxpt_vco(), and native_vco().

#define BLOCK_SIZE   (10 * 1000)

#define FREQ   5003.123

#define ITERATIONS   5000000

#define K   4.9999999


Function Documentation

void basic_vco ( float *  output,
const float *  input 
)

References AMPLITUDE, ITERATIONS, and K.

Referenced by main().

void fxpt_vco ( float *  output,
const float *  input 
)

References AMPLITUDE, gr_fxpt_vco::cos(), ITERATIONS, and K.

Referenced by main().

int main ( int  argc,
char **  argv 
)

void native_vco ( float *  output,
const float *  input 
)

References AMPLITUDE, gr_vco< o_type, i_type >::cos(), ITERATIONS, and K.

Referenced by main().

void nop_fct ( float *  x,
const float *  y 
)

void nop_loop ( float *  x,
const float *  y 
)

References ITERATIONS, and nop_fct().


Generated on Thu Mar 27 14:46:58 2008 for GNU Radio 3.1.1 by  doxygen 1.5.5