diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-11-21 16:59:50 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-11-21 16:59:50 +0900 |
commit | a96ee296357f1a382ea43fe4ca4f633d49e922cf (patch) | |
tree | fef7122e14840a504d4461423e3ca6512741f152 /util/benchmark.cc | |
parent | 9408cea9ad30ce73c37268ab8e86ef2cededfadf (diff) | |
download | re2-a96ee296357f1a382ea43fe4ca4f633d49e922cf.tar.gz re2-a96ee296357f1a382ea43fe4ca4f633d49e922cf.tar.bz2 re2-a96ee296357f1a382ea43fe4ca4f633d49e922cf.zip |
Imported Upstream version 20161001upstream/20161001
Change-Id: I4e7b71f50654c54bfd112ed1cb774c9c6bb732ea
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'util/benchmark.cc')
-rw-r--r-- | util/benchmark.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/benchmark.cc b/util/benchmark.cc index 5ca715a..125bbe3 100644 --- a/util/benchmark.cc +++ b/util/benchmark.cc @@ -4,6 +4,7 @@ #include <stdint.h> #include <stdio.h> +#include <stdlib.h> #include <algorithm> #include <chrono> @@ -80,7 +81,7 @@ static void runN(Benchmark *b, int n, int siz) { b->fnr(n, siz); else { fprintf(stderr, "%s: missing function\n", b->name); - exit(2); + abort(); } if(t0 != 0) ns += nsec() - t0; |