* src/vm/jit/powerpc/emit.c (emit_replacement_stubs): Do not
[cacao.git] / src / vm / rt-timing.c
index 2c58cfab1ef3cd7a4d5cbfbd9838b28094e12c3b..fe6ed6d608b43408d5611aba28f3ade13abc1de0 100644 (file)
@@ -37,8 +37,9 @@
 #include "vm/types.h"
 
 #include <assert.h>
-#include <time.h>
 #include <errno.h>
+#include <stdlib.h>
+#include <time.h>
 
 #include "vm/rt-timing.h"
 #include "mm/memory.h"
@@ -107,6 +108,10 @@ static struct rt_timing_stat rt_timing_stat_defs[] = {
        { RT_TIMING_LOAD_CL_CACHE   ,-1                       , "classloader: store in classcache" },
     { -1                        ,-1                       , "" },
 
+       { RT_TIMING_NEW_OBJECT      ,-1                       , "builtin_new time" },
+       { RT_TIMING_NEW_ARRAY       ,-1                       , "builtin_newarray time" },
+    { -1                        ,-1                       , "" },
+
     { 0                         ,-1                       , NULL }
 };