projects
/
benchmarks.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Config is getting big, pass by reference rather than value
[benchmarks.git]
/
src
/
x86_64
/
x86_64_benchmarks.cpp
1
#include
"x86_64_benchmarks.h"
2
3
#ifdef __x86_64__
4
5
std
::
vector
<
Benchmark
>
x86_64_benchmarks
(
const
Config
&
config
)
6
{
7
std
::
vector
<
Benchmark
>
retval
;
8
// TODO: add x86_64 benchmarks
9
(
void
)
config
;
10
return
retval
;
11
}
12
13
#else
14
15
std
::
vector
<
Benchmark
>
x86_64_benchmarks
(
const
Config
&)
16
{
17
return
{};
18
}
19
20
#endif