From 09e8757f72daa089c03dc8b3577d0135d1c516d7 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Mon, 30 Sep 2019 11:56:08 -0500 Subject: [PATCH] . --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index dfb383e..42f5271 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,12 @@ Some options (all should provided before the `--` option): * `--stderr`/`--stdout` will redirect the program-under-test's stderr and stdout to the provided paths. * `-s`/`-u`: set the number of shielded /unshielded CPUs. The program-under-test will run on the shielded CPUs. All other tasks will run on the unshielded CPUs. +A common invocation might look like: +``` +sudo tools/perfect-cli -n 5 --stderr=run.err --stdout=run.out -- ./my-benchmark +``` +This will disable ASLR, set CPU performance to maximum, disable CPU turbo, drop FS caches, and then run `./my-benchmark` 5 times, redirecting stdout/stderr of ./my-benchmark to `run.out`/`run.err`. + ## API Usage