From 7f49fe9feb174d34efc2a011bad79b38522a360b Mon Sep 17 00:00:00 2001 From: Dongdong Li Date: Thu, 8 Aug 2013 00:15:58 -0800 Subject: 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] --- src/statwrapper.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/statwrapper.h (limited to 'src/statwrapper.h') 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 -- cgit v1.3