Commit afe8b202 authored by zhaokai's avatar zhaokai Committed by Alecs King

Fix comment of Benchmark.h

Summary:
Remove one of the "one" in the comment of BENCHMARK

Closes: #140

Test Plan: Inspection.

Reviewed By: markisaa@fb.com

Subscribers: trunkagent, folly-diffs@, yfeldblum

FB internal diff: D1877997

Signature: t1:1877997:1425063475:c53c09d105809de9a9070f464fb0571a4dd1e5d1
parent 0f3fabf1
...@@ -284,11 +284,11 @@ void doNotOptimizeAway(T&& datum) { ...@@ -284,11 +284,11 @@ void doNotOptimizeAway(T&& datum) {
static unsigned funName(paramType paramName) static unsigned funName(paramType paramName)
/** /**
* Introduces a benchmark function. Use with either one one or two * Introduces a benchmark function. Use with either one or two arguments.
* arguments. The first is the name of the benchmark. Use something * The first is the name of the benchmark. Use something descriptive, such
* descriptive, such as insertVectorBegin. The second argument may be * as insertVectorBegin. The second argument may be missing, or could be a
* missing, or could be a symbolic counter. The counter dictates how * symbolic counter. The counter dictates how many internal iteration the
* many internal iteration the benchmark does. Example: * benchmark does. Example:
* *
* BENCHMARK(vectorPushBack) { * BENCHMARK(vectorPushBack) {
* vector<int> v; * vector<int> v;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment