#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
#include <gr_nco.h>
#include <gr_fxpt_nco.h>
#include <cstring>
Defines | |
#define | ITERATIONS 20000000 |
#define | BLOCK_SIZE (10 * 1000) |
#define | FREQ 5003.123 |
Functions | |
void | basic_sincos_vec (float *x, float *y) |
void | native_sincos_vec (float *x, float *y) |
void | fxpt_sincos_vec (float *x, float *y) |
void | native_sincos (float *x, float *y) |
void | fxpt_sincos (float *x, float *y) |
void | native_sin (float *x, float *y) |
void | fxpt_sin (float *x, float *y) |
void | nop_fct (float *x, float *y) |
void | nop_loop (float *x, float *y) |
int | main (int argc, char **argv) |
#define BLOCK_SIZE (10 * 1000) |
#define FREQ 5003.123 |
Referenced by basic_sincos_vec(), fxpt_sin(), fxpt_sincos(), fxpt_sincos_vec(), native_sin(), native_sincos(), and native_sincos_vec().
#define ITERATIONS 20000000 |
Referenced by basic_sincos_vec(), basic_vco(), fxpt_sin(), fxpt_sincos(), fxpt_sincos_vec(), fxpt_vco(), native_sin(), native_sincos(), native_sincos_vec(), native_vco(), and nop_loop().
void basic_sincos_vec | ( | float * | x, | |
float * | y | |||
) |
References BLOCK_SIZE, FREQ, ITERATIONS, gr_nco< o_type, i_type >::set_freq(), gr_nco< o_type, i_type >::sincos(), and gr_nco< o_type, i_type >::step().
Referenced by main().
void fxpt_sin | ( | float * | x, | |
float * | y | |||
) |
References FREQ, ITERATIONS, gr_fxpt_nco::set_freq(), gr_fxpt_nco::sin(), and gr_fxpt_nco::step().
Referenced by main().
void fxpt_sincos | ( | float * | x, | |
float * | y | |||
) |
References FREQ, ITERATIONS, gr_fxpt_nco::set_freq(), gr_fxpt_nco::sincos(), and gr_fxpt_nco::step().
Referenced by main().
void fxpt_sincos_vec | ( | float * | x, | |
float * | y | |||
) |
References BLOCK_SIZE, FREQ, ITERATIONS, gr_fxpt_nco::set_freq(), and gr_fxpt_nco::sincos().
Referenced by main().
int main | ( | int | argc, | |
char ** | argv | |||
) |
References basic_sincos_vec(), fxpt_sin(), fxpt_sincos(), fxpt_sincos_vec(), native_sin(), native_sincos(), native_sincos_vec(), and nop_loop().
void native_sin | ( | float * | x, | |
float * | y | |||
) |
References FREQ, ITERATIONS, gr_nco< o_type, i_type >::set_freq(), gr_nco< o_type, i_type >::sin(), and gr_nco< o_type, i_type >::step().
Referenced by main().
void native_sincos | ( | float * | x, | |
float * | y | |||
) |
References FREQ, ITERATIONS, gr_nco< o_type, i_type >::set_freq(), gr_nco< o_type, i_type >::sincos(), and gr_nco< o_type, i_type >::step().
Referenced by main().
void native_sincos_vec | ( | float * | x, | |
float * | y | |||
) |
References BLOCK_SIZE, FREQ, ITERATIONS, gr_nco< o_type, i_type >::set_freq(), and gr_nco< o_type, i_type >::sincos().
Referenced by main().
void nop_fct | ( | float * | x, | |
float * | y | |||
) |
Referenced by nop_loop().
void nop_loop | ( | float * | x, | |
float * | y | |||
) |