diff options
author | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2013-06-13 16:19:52 +0000 |
---|---|---|
committer | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2013-06-13 16:19:52 +0000 |
commit | cf06b4fcc069158624d4984e67e408152eb91382 (patch) | |
tree | d2ac73f30752dff890cad9e1608156049438d692 /snappy-test.h | |
parent | 72c54da325fc1ad437d1fabddef15523db860ac0 (diff) | |
download | snappy-cf06b4fcc069158624d4984e67e408152eb91382.tar.gz |
Add support for uncompressing to iovecs (scatter I/O).
Windows does not have struct iovec defined anywhere,
so we define our own version that's equal to what UNIX
typically has.
The bulk of this patch was contributed by Mohit Aron.
R=jeff
git-svn-id: http://snappy.googlecode.com/svn/trunk@76 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Diffstat (limited to 'snappy-test.h')
-rw-r--r-- | snappy-test.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/snappy-test.h b/snappy-test.h index f7ba79e..0f18bf1 100644 --- a/snappy-test.h +++ b/snappy-test.h @@ -328,6 +328,7 @@ class Benchmark { (new Benchmark(#benchmark_name, benchmark_name)) extern Benchmark* Benchmark_BM_UFlat; +extern Benchmark* Benchmark_BM_UIOVec; extern Benchmark* Benchmark_BM_UValidate; extern Benchmark* Benchmark_BM_ZFlat; @@ -478,6 +479,7 @@ static void RunSpecifiedBenchmarks() { fprintf(stderr, "---------------------------------------------------\n"); snappy::Benchmark_BM_UFlat->Run(); + snappy::Benchmark_BM_UIOVec->Run(); snappy::Benchmark_BM_UValidate->Run(); snappy::Benchmark_BM_ZFlat->Run(); |