00001 /* 00002 * Copyright (C) 2006 Dip. Ing. dell'Informazione, University of Pisa, Italy 00003 * http://info.iet.unipi.it/~cng/ns2measure/ns2measure.html 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA, USA 00018 */ 00019 00032 #ifndef __MEASURE_CONFIG_H 00033 #define __MEASURE_CONFIG_H 00034 00036 typedef double sample_t; 00037 00039 enum MetricType { METRIC_AVG, METRIC_DIST, METRIC_NONE }; 00040 00042 #define MAX_METRIC_NAME 256 00043 00045 #define MAX_LINE 1024 00046 00048 #define VECTOR_CHUNK_SIZE 1024 00049 00051 #define COPY_BUFFER_SIZE 65536 00052 00053 #endif // __MEASURE_CONFIG_H