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
0a1f4849
Commit
0a1f4849
authored
Nov 30, 2015
by
Dominic Hamon
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #166 from disconnect3d/master
Fixes #165: CustomArguments ret type in README
parents
475fc830
d2917bcd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
AUTHORS
AUTHORS
+1
-0
CONTRIBUTORS
CONTRIBUTORS
+1
-0
README.md
README.md
+2
-4
No files found.
AUTHORS
View file @
0a1f4849
...
...
@@ -27,3 +27,4 @@ Shuo Chen <chenshuo@chenshuo.com>
Yusuke Suzuki <utatane.tea@gmail.com>
Dirac Research
Zbigniew Skowron <zbychs@gmail.com>
Dominik Czarnota <dominik.b.czarnota@gmail.com>
CONTRIBUTORS
View file @
0a1f4849
...
...
@@ -43,3 +43,4 @@ Shuo Chen <chenshuo@chenshuo.com>
Yusuke Suzuki <utatane.tea@gmail.com>
Tobias Ulvgård <tobias.ulvgard@dirac.se>
Zbigniew Skowron <zbychs@gmail.com>
Dominik Czarnota <dominik.b.czarnota@gmail.com>
README.md
View file @
0a1f4849
...
...
@@ -104,12 +104,10 @@ The following example enumerates a dense range on one parameter,
and a sparse range on the second.
```
c++
static
benchmark
::
internal
::
Benchmark
*
CustomArguments
(
benchmark
::
internal
::
Benchmark
*
b
)
{
static
void
CustomArguments
(
benchmark
::
internal
::
Benchmark
*
b
)
{
for
(
int
i
=
0
;
i
<=
10
;
++
i
)
for
(
int
j
=
32
;
j
<=
1024
*
1024
;
j
*=
8
)
b
=
b
->
ArgPair
(
i
,
j
);
return
b
;
b
->
ArgPair
(
i
,
j
);
}
BENCHMARK
(
BM_SetInsert
)
->
Apply
(
CustomArguments
);
```
...
...
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