#include <lttv/lttv.h>
#include <lttv/module.h>
-#include <lttv/gtktraceset.h>
-#include <lttv/processTrace.h>
+#include <lttvwindow/gtktraceset.h>
+#include <lttv/tracecontext.h>
#include <lttv/hook.h>
-#include <lttv/common.h>
+#include <lttvwindow/common.h>
#include <lttv/state.h>
#include <lttv/stats.h>
#include <string.h>
-#include "../icons/hGuiStatisticInsert.xpm"
+#include "hGuiStatisticInsert.xpm"
#define PATH_LENGTH 256 /* CHECK */
&statistic_viewer_data->time_span);
if(statistic_viewer_data->calculate_stats){
- if(lttv_stats_load_statistics(statistic_viewer_data->stats))
- statistic_viewer_data->calculate_stats = FALSE;
+ //if(lttv_stats_load_statistics(statistic_viewer_data->stats))
+ // statistic_viewer_data->calculate_stats = FALSE;
}
if(statistic_viewer_data->calculate_stats == FALSE){
show_traceset_stats(statistic_viewer_data);
if(statistic_viewer_data->calculate_stats){
statistic_remove_context_hooks(statistic_viewer_data,tsc);
- lttv_stats_save_statistics((LttvTracesetStats*)tsc);
+ //lttv_stats_save_statistics((LttvTracesetStats*)tsc);
}
}
LTTV_MODULE("guistatistics", "Statistics viewer", \
"Graphical module to view statistics about processes, CPUs and systems", \
- init, destroy, "mainwin")
+ init, destroy, "lttvwindow")