changes in benchmarks for the PPoPP paper
[IRC.git] / Robust / src / Runtime / DSTM / interface / dstm.h
index bd271231e423133165eaf60cdd14ecb64d7de360..9a993d88c25ada7b162ab0289df0c753057b1266 100644 (file)
@@ -57,7 +57,7 @@
 //#define RETRYINTERVAL  20 //N (For Em3d, SOR, Moldyn benchmarks)
 //#define SHUTDOWNINTERVAL  3  //M
 #define RETRYINTERVAL  100 //N  (For MatrixMultiply, 2DFFT benchmarks)
-#define SHUTDOWNINTERVAL  1  //M
+#define SHUTDOWNINTERVAL 1  //M
 
 #include <stdlib.h>
 #include <stdio.h>
 /*******Global statistics *********/
 extern int numprefetchsites;
 
+/***********************************
+ * Global Variables for statistics
+ **********************************/
+#ifdef TRANSSTATS
+extern int numTransCommit;
+extern int numTransAbort;
+extern int nSoftAbort;
+extern int nSoftAbortAbort;
+extern int nSoftAbortCommit;
+#endif
+
 double idForTimeDelay;           /* TODO Remove, necessary to get time delay for starting transRequest for this id */
 int transCount;                  /* TODO Remove, necessary to the transaction id */