* don't include "md.h", not needed
[cacao.git] / src / vm / statistics.h
index 737b2272d370cf61d9437c901392773eb73762b5..2575fb822c2e9691940056e3ea0d7e69e53ca40d 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: statistics.h 2026 2005-03-10 13:31:37Z twisti $
+   $Id: statistics.h 2424 2005-04-30 13:45:06Z jowenn $
 
 */
 
@@ -72,6 +72,8 @@ extern s4 globaluseddumpsize;
 
 extern int count_class_infos;           /* variables for measurements         */
 extern int count_const_pool_len;
+extern int count_classref_len;
+extern int count_parsed_desc_len;
 extern int count_vftbl_len;
 extern int count_all_methods;
 extern int count_methods_marked_used;  /*RTA*/
@@ -95,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;
@@ -177,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 */