summaryrefslogtreecommitdiff
path: root/src/statwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/statwrapper.h')
-rw-r--r--src/statwrapper.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/statwrapper.h b/src/statwrapper.h
new file mode 100644
index 0000000..65c2ab9
--- /dev/null
+++ b/src/statwrapper.h
@@ -0,0 +1,12 @@
+#ifndef STAT_WRAPER_H
+#define STAT_WRAPER_H
+
+class Stats* 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);
+
+#endif