X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fevent_analysis_linreg.h;h=ce5a081145b8ded30f8ca0be490c6bfd0d28116d;hb=0a87ec9a018cc9731ce3b04309eaa4dcc77df6d2;hp=eb94eaa63e34fce5d98e50290d375d8aebd1b061;hpb=70407e861d8430dbe06cc52e6fe4ed5c9cd0872a;p=lttv.git diff --git a/lttv/lttv/sync/event_analysis_linreg.h b/lttv/lttv/sync/event_analysis_linreg.h index eb94eaa6..ce5a0811 100644 --- a/lttv/lttv/sync/event_analysis_linreg.h +++ b/lttv/lttv/sync/event_analysis_linreg.h @@ -1,19 +1,18 @@ /* This file is part of the Linux Trace Toolkit viewer - * Copyright (C) 2009 Benjamin Poirier + * Copyright (C) 2009, 2010 Benjamin Poirier * - * 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 . */ #ifndef EVENT_ANALYSIS_LINREG_H @@ -21,7 +20,7 @@ #include -#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