Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
24b80427
Commit
24b80427
authored
Sep 13, 2017
by
Andre Schroeder
Committed by
Eric
Sep 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Markdown typos in readme. (#445)
parent
886585a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
24b80427
...
@@ -199,11 +199,11 @@ The `test_case_name` is appended to the name of the benchmark and
...
@@ -199,11 +199,11 @@ The `test_case_name` is appended to the name of the benchmark and
should describe the values passed.
should describe the values passed.
```
c++
```
c++
template
<
class
...
ExtraArgs
>
`
template
<
class
...
ExtraArgs
>
void
BM_takes_args
(
benchmark
::
State
&
state
,
ExtraArgs
&&
...
extra_args
)
{
void
BM_takes_args
(
benchmark
::
State
&
state
,
ExtraArgs
&&
...
extra_args
)
{
[...]
[...]
}
}
// Registers a benchmark named "BM_takes_args/int_string_test
`
that passes
// Registers a benchmark named "BM_takes_args/int_string_test
"
that passes
// the specified values to `extra_args`.
// the specified values to `extra_args`.
BENCHMARK_CAPTURE
(
BM_takes_args
,
int_string_test
,
42
,
std
::
string
(
"abc"
));
BENCHMARK_CAPTURE
(
BM_takes_args
,
int_string_test
,
42
,
std
::
string
(
"abc"
));
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment