Add microbenchmarks/memory-eater.

This benchmark measures ZRAM page-in throughput and can be used
as a utility to create background memory pressure too.

BUG=chromium:788276
TEST=emerge-${BOARD} microbenchmarks
CQ-DEPEND=CL:*529118

Change-Id: I27057b12dfadd2bac2e449a65fd6e1f4fce8f07a
Reviewed-on: https://chromium-review.googlesource.com/826907
Commit-Ready: Ben Cheng <bccheng@chromium.org>
Tested-by: Ben Cheng <bccheng@chromium.org>
Reviewed-by: Cheng-Yu Lee <cylee@google.com>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
5 files changed
tree: 57b1704c1c843e61f29d9c62203fe80169fd9a2e
  1. memory-eater/
  2. common.mk
  3. Makefile
  4. README