Overhaul microbenchmark so that it can be pulled in easily by any package

This follows the model set by gtest_main.a and adds a microbenchmark_main.a
which can be pulled in by any package to do quick microbenchmarking of any of
the functions in their tree.

This change also includes updates to minijail as an example usage of the microbenchmark code.

Last but not least, I fixed a copy and paste error in the copyright and a
missing comma in the output as well as updated some comments.

Review URL: http://codereview.chromium.org/492005
This commit is contained in:
Will Drewry 2009-12-10 12:31:47 -08:00
parent 69813668b1
commit 0023873422

View File

@ -29,7 +29,7 @@ PLATFORM_DIR="$SRC_ROOT/platform"
PLATFORM_DIRS="acpi assets fake_hal init installer login_manager \
memento_softwareupdate pam_google window_manager \
cros chrome screenlocker cryptohome \
monitor_reconfig minijail metrics_collection"
monitor_reconfig microbenchmark minijail metrics_collection"
THIRD_PARTY_DIR="$SRC_ROOT/third_party"
THIRD_PARTY_PACKAGES="connman e2fsprogs/files gflags gtest \