#ifndef _STATS_H #define _STATS_H int stat_rate, stat_outsignal; int rate = 8; int output_i[INPUT_MAX_DATA]; int datatype; struct utils_param params[] = { {"datatype",STAT_TYPE_INT,1,&datatype}, {"rate",STAT_TYPE_INT,1,&rate}, {NULL, 0, 0, 0}}; struct utils_stat stats[] = { {"rate", STAT_TYPE_INT, 1, &stat_rate, (void*)&rate, READ}, {"out_signal", STAT_TYPE_INT, 128, &stat_outsignal, (void*)output_i, WRITE}, {NULL, 0, 0, 0, 0, 0}}; #endif /* _STATS_H */