Add sampling profiler
This adds a sampling profiler thread that runs every so often, gathering
profiling data and writing the results to a file in /data/data (specific to
app running). The intention is to use these files as input to the compiler
so that it can determine the best methods to compile.
Bug: 11539952
Change-Id: I0bfbb4146fb7966673c792f017ffac8107b6272d
diff --git a/runtime/Android.mk b/runtime/Android.mk
index a602c83..576ed1b 100644
--- a/runtime/Android.mk
+++ b/runtime/Android.mk
@@ -131,6 +131,7 @@
thread_pool.cc \
throw_location.cc \
trace.cc \
+ profiler.cc \
utf.cc \
utils.cc \
verifier/dex_gc_map.cc \