projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a processing module that reads events from a text file
[lttv.git]
/
lttv
/
lttv
/
sync
/
event_analysis_chull.c
diff --git
a/lttv/lttv/sync/event_analysis_chull.c
b/lttv/lttv/sync/event_analysis_chull.c
index 4dd073731ebc9180f5ab7ab9e9e0ba35370c205a..e77eabd221048738aafb84f3dc0ee71a5c7bfb87 100644
(file)
--- a/
lttv/lttv/sync/event_analysis_chull.c
+++ b/
lttv/lttv/sync/event_analysis_chull.c
@@
-26,6
+26,7
@@
#include <float.h>
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include "sync_chain.h"
#include <unistd.h>
#include "sync_chain.h"
@@
-33,11
+34,6
@@
#include "event_analysis_chull.h"
#include "event_analysis_chull.h"
-#ifndef g_info
-#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
-#endif
-
-
typedef enum
{
LOWER,
typedef enum
{
LOWER,
@@
-197,7
+193,7
@@
static void openGraphFiles(SyncState* const syncState)
analysisData= (AnalysisDataCHull*) syncState->analysisData;
analysisData= (AnalysisDataCHull*) syncState->analysisData;
- cwd= changeToGraphDir(syncState->graphsDir);
+ cwd= changeToGraph
s
Dir(syncState->graphsDir);
analysisData->graphsData->hullPoints= malloc(syncState->traceNb *
sizeof(FILE**));
analysisData->graphsData->hullPoints= malloc(syncState->traceNb *
sizeof(FILE**));
@@
-931,7
+927,7
@@
void calculateFactorsMiddle(FactorsCHull* const factors)
bmin= factors->min->drift;
bmax= factors->max->drift;
bmin= factors->min->drift;
bmax= factors->max->drift;
- g_assert_cmpfloat(bmax, >, bmin);
+ g_assert_cmpfloat(bmax, >
=
, bmin);
factors->approx= malloc(sizeof(Factors));
bhat= (bmax * bmin - 1. + sqrt(1. + pow(bmax, 2.) * pow(bmin, 2.) +
factors->approx= malloc(sizeof(Factors));
bhat= (bmax * bmin - 1. + sqrt(1. + pow(bmax, 2.) * pow(bmin, 2.) +
This page took
0.023121 seconds
and
4
git commands to generate.