summaryrefslogtreecommitdiff
path: root/src/intersim/statwraper.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-07-15 18:09:46 -0800
committerTor Aamodt <[email protected]>2010-07-15 18:09:46 -0800
commit69f2911e04ffb1b19eef1fafb8c040af271f656e (patch)
tree231d3b6bdc3a202f7c255bfcf7bf2c36e32cee9e /src/intersim/statwraper.h
creating branch for adding support for CUDA 3.x and Fermi
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829]
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