summaryrefslogtreecommitdiff
path: root/src/statwrapper.h
diff options
context:
space:
mode:
authorDongdong Li <[email protected]>2013-08-08 00:15:58 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:58 -0700
commit7f49fe9feb174d34efc2a011bad79b38522a360b (patch)
treeab5b7b66e40315a81871acbf386722981020f866 /src/statwrapper.h
parent5f91e7435742bab74dfbeca18afc63e466498f36 (diff)
Intesim2 Integration
Details: See Review 80001 https://gpgpu-sim-code-review.appspot.com/80001/ [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16747]
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