int int_out_i[OUTPUT_MAX_DATA],int_out_q[OUTPUT_MAX_DATA]; int stat_outsignal_i,stat_K,stat_error,stat_errorint,stat_outsignal_q,stat_freq,stat_alpha,stat_filtlen,stat_patt,stat_atterror; int datatype; float freq,alpha,K; int att_error,preatt,filter_len; #define ERROR_VECT_LEN 512 float error_vect[ERROR_VECT_LEN],error_int_vect[ERROR_VECT_LEN]; struct utils_param params[] = { {"datatype",STAT_TYPE_INT,1,&datatype}, {"freq",STAT_TYPE_FLOAT,1,&freq}, {"alpha",STAT_TYPE_FLOAT,1,&alpha}, {"K",STAT_TYPE_FLOAT,1,&K}, {"att_error",STAT_TYPE_INT,1,&att_error}, {NULL, 0, 0, 0}}; struct utils_stat stats[] = { {"out_signal_i", STAT_TYPE_INT, 512, &stat_outsignal_i, (void*)int_out_i, WRITE}, {"out_signal_q", STAT_TYPE_INT, 512, &stat_outsignal_q, (void*)int_out_q, WRITE}, {"error_vect", STAT_TYPE_FLOAT, ERROR_VECT_LEN, &stat_error, (void*)error_vect, WRITE}, {"error_int_vect", STAT_TYPE_FLOAT, ERROR_VECT_LEN, &stat_errorint, (void*)error_int_vect, WRITE}, {"freq", STAT_TYPE_FLOAT, 1, &stat_freq, (void*)&freq, READ}, {"alpha", STAT_TYPE_FLOAT, 1, &stat_alpha, (void*)&alpha, READ}, {"K", STAT_TYPE_FLOAT, 1, &stat_K, (void*)&K, READ}, {"att_error", STAT_TYPE_INT, 1, &stat_atterror, (void*)&att_error, READ}, {NULL, 0, 0, 0, 0, 0}};