Implement interface for bionic benchmarks.
Test: Unit tests.
Change-Id: Ic61932f61ddd572e2f045b601f9da6e090cdc45d
diff --git a/benchmarks/suites/full.xml b/benchmarks/suites/full.xml
new file mode 100644
index 0000000..707a3d6
--- /dev/null
+++ b/benchmarks/suites/full.xml
@@ -0,0 +1,267 @@
+<fn>
+ <name>BM_empty</name>
+</fn>
+<fn>
+ <name>BM_load_relaxed</name>
+</fn>
+<fn>
+ <name>BM_load_acquire</name>
+</fn>
+<fn>
+ <name>BM_store_release</name>
+</fn>
+<fn>
+ <name>BM_store_seq_cst</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_relaxed</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_seq_cst</name>
+</fn>
+<fn>
+ <name>BM_acquire_fence</name>
+</fn>
+<fn>
+ <name>BM_seq_cst_fence</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_cs</name>
+</fn>
+<fn>
+ <name>BM_math_sqrt</name>
+</fn>
+<fn>
+ <name>BM_math_log10</name>
+</fn>
+<fn>
+ <name>BM_math_logb</name>
+</fn>
+<fn>
+ <name>BM_math_isfinite_macro</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_isfinite</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_isinf_macro</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_isinf</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_isnan_macro</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_isnan</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_isnormal_macro</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_isnormal</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_sin_fast</name>
+</fn>
+<fn>
+ <name>BM_math_sin_feupdateenv</name>
+</fn>
+<fn>
+ <name>BM_math_sin_fesetenv</name>
+</fn>
+<fn>
+ <name>BM_math_fpclassify</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_signbit_macro</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_signbit</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_fabs_macro</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_math_fabs</name>
+ <args>MATH_COMMON</args>
+</fn>
+<fn>
+ <name>BM_property_get</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_property_find</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_property_read</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_property_serial</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_pthread_self</name>
+</fn>
+<fn>
+ <name>BM_pthread_getspecific</name>
+</fn>
+<fn>
+ <name>BM_pthread_setspecific</name>
+</fn>
+<fn>
+ <name>BM_pthread_once</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock_ERRORCHECK</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock_RECURSIVE</name>
+</fn>
+<fn>
+ <name>BM_pthread_rwlock_read</name>
+</fn>
+<fn>
+ <name>BM_pthread_rwlock_write</name>
+</fn>
+<fn>
+ <name>BM_pthread_create</name>
+</fn>
+<fn>
+ <name>BM_pthread_create_and_run</name>
+</fn>
+<fn>
+ <name>BM_pthread_exit_and_join</name>
+</fn>
+<fn>
+ <name>BM_pthread_key_create</name>
+</fn>
+<fn>
+ <name>BM_pthread_key_delete</name>
+</fn>
+<fn>
+ <name>BM_semaphore_sem_getvalue</name>
+</fn>
+<fn>
+ <name>BM_semaphore_sem_wait_sem_post</name>
+</fn>
+<fn>
+ <name>BM_stdio_fread</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fwrite</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fread_unbuffered</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fwrite_unbuffered</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fopen_fgets_fclose_locking</name>
+</fn>
+<fn>
+ <name>BM_stdio_fopen_fgets_fclose_no_locking</name>
+</fn>
+<fn>
+ <name>BM_string_memcmp</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memcpy</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_non_overlapping</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_overlap_dst_before_src</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_overlap_src_before_dst</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memset</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_copy_only</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_seek_only</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_half_copy_half_seek</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcpy</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcmp</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_time_clock_gettime</name>
+</fn>
+<fn>
+ <name>BM_time_clock_gettime_syscall</name>
+</fn>
+<fn>
+ <name>BM_time_gettimeofday</name>
+</fn>
+<fn>
+ <name>BM_time_gettimeofday_syscall</name>
+</fn>
+<fn>
+ <name>BM_time_time</name>
+</fn>
+<fn>
+ <name>BM_time_localtime</name>
+</fn>
+<fn>
+ <name>BM_time_localtime_r</name>
+</fn>
+<fn>
+ <name>BM_unistd_getpid</name>
+</fn>
+<fn>
+ <name>BM_unistd_getpid_syscall</name>
+</fn>
+<fn>
+ <name>BM_unistd_gettid</name>
+</fn>
+<fn>
+ <name>BM_unistd_gettid_syscall</name>
+</fn>
diff --git a/benchmarks/suites/host.xml b/benchmarks/suites/host.xml
new file mode 100644
index 0000000..c4d0d3a
--- /dev/null
+++ b/benchmarks/suites/host.xml
@@ -0,0 +1,244 @@
+<fn>
+ <name>BM_empty</name>
+</fn>
+<fn>
+ <name>BM_load_relaxed</name>
+</fn>
+<fn>
+ <name>BM_load_acquire</name>
+</fn>
+<fn>
+ <name>BM_store_release</name>
+</fn>
+<fn>
+ <name>BM_store_seq_cst</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_relaxed</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_seq_cst</name>
+</fn>
+<fn>
+ <name>BM_acquire_fence</name>
+</fn>
+<fn>
+ <name>BM_seq_cst_fence</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_cs</name>
+</fn>
+<fn>
+ <name>BM_math_sqrt</name>
+</fn>
+<fn>
+ <name>BM_math_log10</name>
+</fn>
+<fn>
+ <name>BM_math_logb</name>
+</fn>
+<fn>
+ <name>BM_math_isfinite_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isfinite</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isinf_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isinf</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isnan_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isnan</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isnormal_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_sin_fast</name>
+</fn>
+<fn>
+ <name>BM_math_sin_feupdateenv</name>
+</fn>
+<fn>
+ <name>BM_math_sin_fesetenv</name>
+</fn>
+<fn>
+ <name>BM_math_fpclassify</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_signbit_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_signbit</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_fabs_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_fabs</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_pthread_self</name>
+</fn>
+<fn>
+ <name>BM_pthread_getspecific</name>
+</fn>
+<fn>
+ <name>BM_pthread_setspecific</name>
+</fn>
+<fn>
+ <name>BM_pthread_once</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock_ERRORCHECK</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock_RECURSIVE</name>
+</fn>
+<fn>
+ <name>BM_pthread_rwlock_read</name>
+</fn>
+<fn>
+ <name>BM_pthread_rwlock_write</name>
+</fn>
+<fn>
+ <name>BM_pthread_create</name>
+</fn>
+<fn>
+ <name>BM_pthread_create_and_run</name>
+</fn>
+<fn>
+ <name>BM_pthread_exit_and_join</name>
+</fn>
+<fn>
+ <name>BM_pthread_key_create</name>
+</fn>
+<fn>
+ <name>BM_pthread_key_delete</name>
+</fn>
+<fn>
+ <name>BM_semaphore_sem_getvalue</name>
+</fn>
+<fn>
+ <name>BM_semaphore_sem_wait_sem_post</name>
+</fn>
+<fn>
+ <name>BM_stdio_fread</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fwrite</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fread_unbuffered</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fwrite_unbuffered</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fopen_fgets_fclose_locking</name>
+</fn>
+<fn>
+ <name>BM_stdio_fopen_fgets_fclose_no_locking</name>
+</fn>
+<fn>
+ <name>BM_string_memcmp</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memcpy</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_non_overlapping</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_overlap_dst_before_src</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_overlap_src_before_dst</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memset</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_copy_only</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_seek_only</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_half_copy_half_seek</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcpy</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcmp</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_time_clock_gettime</name>
+</fn>
+<fn>
+ <name>BM_time_clock_gettime_syscall</name>
+</fn>
+<fn>
+ <name>BM_time_gettimeofday</name>
+</fn>
+<fn>
+ <name>BM_time_gettimeofday_syscall</name>
+</fn>
+<fn>
+ <name>BM_time_time</name>
+</fn>
+<fn>
+ <name>BM_time_localtime</name>
+</fn>
+<fn>
+ <name>BM_time_localtime_r</name>
+</fn>
+<fn>
+ <name>BM_unistd_getpid</name>
+</fn>
+<fn>
+ <name>BM_unistd_getpid_syscall</name>
+</fn>
+<fn>
+ <name>BM_unistd_gettid_syscall</name>
+</fn>
diff --git a/benchmarks/suites/test_alignment.xml b/benchmarks/suites/test_alignment.xml
new file mode 100644
index 0000000..20df320
--- /dev/null
+++ b/benchmarks/suites/test_alignment.xml
@@ -0,0 +1,50 @@
+<fn>
+ <name>BM_string_memcmp</name>
+ <iterations>1</iterations>
+ <args>AT_2_ALIGN_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memcmp</name>
+ <iterations>1</iterations>
+ <args>AT_4_ALIGN_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memcmp</name>
+ <iterations>1</iterations>
+ <args>AT_16_ALIGN_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memcmp</name>
+ <iterations>1</iterations>
+ <args>AT_512_ALIGN_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memcmp</name>
+ <iterations>1</iterations>
+ <args>AT_2048_ALIGN_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <iterations>1</iterations>
+ <args>AT_2_ALIGN_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <iterations>1</iterations>
+ <args>AT_4_ALIGN_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <iterations>1</iterations>
+ <args>AT_16_ALIGN_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <iterations>1</iterations>
+ <args>AT_512_ALIGN_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <iterations>1</iterations>
+ <args>AT_2048_ALIGN_ONEBUF</args>
+</fn>
diff --git a/benchmarks/suites/test_from_each.xml b/benchmarks/suites/test_from_each.xml
new file mode 100644
index 0000000..0118365
--- /dev/null
+++ b/benchmarks/suites/test_from_each.xml
@@ -0,0 +1,30 @@
+<fn>
+ <name>BM_empty</name>
+</fn>
+<fn>
+ <name>BM_math_sqrt</name>
+</fn>
+<fn>
+ <name>BM_property_get</name>
+ <args>1</args>
+</fn>
+<fn>
+ <name>BM_pthread_self</name>
+</fn>
+<fn>
+ <name>BM_semaphore_sem_getvalue</name>
+</fn>
+<fn>
+ <name>BM_stdio_fread</name>
+ <args>64</args>
+</fn>
+<fn>
+ <name>BM_string_memcpy</name>
+ <args>512 4 4</args>
+</fn>
+<fn>
+ <name>BM_time_clock_gettime</name>
+</fn>
+<fn>
+ <name>BM_unistd_getpid</name>
+</fn>
diff --git a/benchmarks/suites/test_full.xml b/benchmarks/suites/test_full.xml
new file mode 100644
index 0000000..f9d97ee
--- /dev/null
+++ b/benchmarks/suites/test_full.xml
@@ -0,0 +1,261 @@
+<fn>
+ <name>BM_empty</name>
+</fn>
+<fn>
+ <name>BM_load_relaxed</name>
+</fn>
+<fn>
+ <name>BM_load_acquire</name>
+</fn>
+<fn>
+ <name>BM_store_release</name>
+</fn>
+<fn>
+ <name>BM_store_seq_cst</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_relaxed</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_seq_cst</name>
+</fn>
+<fn>
+ <name>BM_acquire_fence</name>
+</fn>
+<fn>
+ <name>BM_seq_cst_fence</name>
+</fn>
+<fn>
+ <name>BM_fetch_add_cs</name>
+</fn>
+<fn>
+ <name>BM_math_sqrt</name>
+</fn>
+<fn>
+ <name>BM_math_log10</name>
+</fn>
+<fn>
+ <name>BM_math_logb</name>
+</fn>
+<fn>
+ <name>BM_math_isfinite_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isfinite</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isinf_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isinf</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isnan_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isnan</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isnormal_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_isnormal</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_sin_fast</name>
+</fn>
+<fn>
+ <name>BM_math_sin_feupdateenv</name>
+</fn>
+<fn>
+ <name>BM_math_sin_fesetenv</name>
+</fn>
+<fn>
+ <name>BM_math_fpclassify</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_signbit_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_signbit</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_fabs_macro</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_math_fabs</name>
+ <args>0</args>
+</fn>
+<fn>
+ <name>BM_property_get</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_property_find</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_property_read</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_property_serial</name>
+ <args>NUM_PROPS</args>
+</fn>
+<fn>
+ <name>BM_pthread_self</name>
+</fn>
+<fn>
+ <name>BM_pthread_getspecific</name>
+</fn>
+<fn>
+ <name>BM_pthread_setspecific</name>
+</fn>
+<fn>
+ <name>BM_pthread_once</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock_ERRORCHECK</name>
+</fn>
+<fn>
+ <name>BM_pthread_mutex_lock_RECURSIVE</name>
+</fn>
+<fn>
+ <name>BM_pthread_rwlock_read</name>
+</fn>
+<fn>
+ <name>BM_pthread_rwlock_write</name>
+</fn>
+<fn>
+ <name>BM_pthread_create</name>
+</fn>
+<fn>
+ <name>BM_pthread_create_and_run</name>
+</fn>
+<fn>
+ <name>BM_pthread_exit_and_join</name>
+</fn>
+<fn>
+ <name>BM_pthread_key_create</name>
+</fn>
+<fn>
+ <name>BM_pthread_key_delete</name>
+</fn>
+<fn>
+ <name>BM_semaphore_sem_getvalue</name>
+</fn>
+<fn>
+ <name>BM_semaphore_sem_wait_sem_post</name>
+</fn>
+<fn>
+ <name>BM_stdio_fread</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fwrite</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fread_unbuffered</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fwrite_unbuffered</name>
+ <args>AT_COMMON_SIZES</args>
+</fn>
+<fn>
+ <name>BM_stdio_fopen_fgets_fclose_locking</name>
+</fn>
+<fn>
+ <name>BM_stdio_fopen_fgets_fclose_no_locking</name>
+</fn>
+<fn>
+ <name>BM_string_memcmp</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memcpy</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_non_overlapping</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_overlap_dst_before_src</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memmove_overlap_src_before_dst</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_memset</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strlen</name>
+ <args>AT_ALIGNED_ONEBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_copy_only</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_seek_only</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcat_half_copy_half_seek</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcpy</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_string_strcmp</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_time_clock_gettime</name>
+</fn>
+<fn>
+ <name>BM_time_clock_gettime_syscall</name>
+</fn>
+<fn>
+ <name>BM_time_gettimeofday</name>
+</fn>
+<fn>
+ <name>BM_time_gettimeofday_syscall</name>
+</fn>
+<fn>
+ <name>BM_time_time</name>
+</fn>
+<fn>
+ <name>BM_unistd_getpid</name>
+</fn>
+<fn>
+ <name>BM_unistd_getpid_syscall</name>
+</fn>
+<fn>
+ <name>BM_unistd_gettid</name>
+</fn>
+<fn>
+ <name>BM_unistd_gettid_syscall</name>
+</fn>
diff --git a/benchmarks/suites/test_medium.xml b/benchmarks/suites/test_medium.xml
new file mode 100644
index 0000000..9528af3
--- /dev/null
+++ b/benchmarks/suites/test_medium.xml
@@ -0,0 +1,16 @@
+<fn>
+ <name>BM_string_memcmp</name>
+ <args>AT_ALIGNED_TWOBUF</args>
+</fn>
+<fn>
+ <name>BM_math_sqrt</name>
+</fn>
+<fn>
+ <name>BM_string_memcpy</name>
+ <iterations>25</iterations>
+ <args>512 4 4</args>
+</fn>
+<fn>
+ <name>BM_property_get</name>
+ <args>1</args>
+</fn>
diff --git a/benchmarks/suites/test_small.xml b/benchmarks/suites/test_small.xml
new file mode 100644
index 0000000..a4cc285
--- /dev/null
+++ b/benchmarks/suites/test_small.xml
@@ -0,0 +1,11 @@
+<fn>
+ <name>BM_string_memcmp</name>
+ <args>8 8 8</args>
+</fn>
+<fn>
+ <name>BM_math_sqrt</name>
+</fn>
+<fn>
+ <name>BM_property_get</name>
+ <args>1</args>
+</fn>