Add new malloc benchmarks.
This runs through the trace of the allocations in a sql benchmark app
executed in the benchmark thread.
Add one benchmark with decay time set to 0 and another with decay time
set to 1.
Include a script that can generate a header file that can be used to
regenerate the data.
Bug: 112317428
Test: Builds, ran unit tests, ran benchmarks.
Change-Id: I62e287cc06b74b74bcc5a4bbee71b0fac0a196fd
diff --git a/benchmarks/tests/interface_test.cpp b/benchmarks/tests/interface_test.cpp
index 45a1909..89b6011 100644
--- a/benchmarks/tests/interface_test.cpp
+++ b/benchmarks/tests/interface_test.cpp
@@ -178,6 +178,8 @@
"BM_atomic_store_seq_cst/iterations:1\n"
"BM_inttypes_strtoimax/iterations:1\n"
"BM_inttypes_strtoumax/iterations:1\n"
+ "BM_malloc_sql_trace_decay_time_0/iterations:1\n"
+ "BM_malloc_sql_trace_decay_time_1/iterations:1\n"
"BM_math_cosf/0/iterations:1\n"
"BM_math_cosf/1/iterations:1\n"
"BM_math_cosf/2/iterations:1\n"