summaryrefslogtreecommitdiff
path: root/src/intersim/statwraper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim/statwraper.h')
-rw-r--r--src/intersim/statwraper.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/intersim/statwraper.h b/src/intersim/statwraper.h
new file mode 100644
index 0000000..35ca6de
--- /dev/null
+++ b/src/intersim/statwraper.h
@@ -0,0 +1,13 @@
+#ifndef STAT_WRAPER_H
+#define STAT_WRAPER_H
+
+void* StatCreate (const char * name, double bin_size, int num_bins) ;
+void StatClear(void * st);
+void StatAddSample (void * st, int val);
+double StatAverage(void * st) ;
+double StatMax(void * st) ;
+double StatMin(void * st) ;
+void StatDisp (void * st);
+void StatDumptofile (void * st, FILE f);
+
+#endif