* don't include "md.h", not needed
[cacao.git] / src / vm / statistics.h
index 11e1fcbde82f002dbe720cd54745d647d3d22b15..2575fb822c2e9691940056e3ea0d7e69e53ca40d 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: statistics.h 2080 2005-03-25 13:35:06Z edwin $
+   $Id: statistics.h 2424 2005-04-30 13:45:06Z jowenn $
 
 */
 
@@ -97,6 +97,10 @@ extern int count_interface_size;
 extern int count_argument_mem_ss;
 extern int count_argument_reg_ss;
 extern int count_method_in_register;
+extern int count_mov_reg_reg;
+extern int count_mov_mem_reg;
+extern int count_mov_reg_mem;
+extern int count_mov_mem_mem;
 
 extern int count_jit_calls;
 extern int count_methods;
@@ -179,6 +183,25 @@ void print_times();
 void print_stats();
 
 void mem_usagelog(bool givewarnings);
+
+
+void nativeinvokation();
+void compiledinvokation();
+void jnicallXmethodnvokation();
+void jniinvokation();
+
+
+#if defined(STATISTICS)
+#define STATS(x) \
+       { \
+               if (opt_stat) \
+                       x \
+       }
+#else
+#define STATS(x)
+#endif
+
+
  
 #endif /* _STATISTICS_H */