Perform trace factor reduction as a separate step
[lttv.git] / lttv / lttv / sync / event_analysis_linreg.h
index eb94eaa63e34fce5d98e50290d375d8aebd1b061..ce5a081145b8ded30f8ca0be490c6bfd0d28116d 100644 (file)
@@ -1,19 +1,18 @@
 /* This file is part of the Linux Trace Toolkit viewer
- * Copyright (C) 2009 Benjamin Poirier <benjamin.poirier@polymtl.ca>
+ * Copyright (C) 2009, 2010 Benjamin Poirier <benjamin.poirier@polymtl.ca>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License Version 2 as
- * published by the Free Software Foundation;
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2.1 of the License, or (at
+ * your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
+ * License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef EVENT_ANALYSIS_LINREG_H
@@ -21,7 +20,7 @@
 
 #include <glib.h>
 
-#include "data_structures_tcp.h"
+#include "data_structures.h"
 
 
 typedef struct
@@ -31,22 +30,14 @@ typedef struct
        double st, st2, sd, sd2, std, x, d0, e;
 } Fit;
 
-typedef struct
-{
-       double errorSum;
-       unsigned int* previousVertex;
-       unsigned int reference;
-} Graph;
-
 typedef struct
 {
        Fit** fitArray;
 
-       // Graph[]
-       GQueue* graphList;
-
        // for statistics
        double* stDev;
 } AnalysisDataLinReg;
 
+void registerAnalysisLinReg();
+
 #endif
This page took 0.023199 seconds and 4 git commands to generate.