Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
cd23593f02db0decfa5af016b51f725c5d290d02
/
.
/
libcxx
/
utils
/
google-benchmark
/
test
/
link_main_test.cc
blob: 241ad5c3905e9f4ca7dfa95f58428c9ba93b9e59 [
file
] [
log
] [
blame
]
Eric Fiselier
fcafd3e
2018-07-10 04:02:00 +0000
[
diff
] [
blame
]
1
#include
"benchmark/benchmark.h"
2
3
void
BM_empty
(
benchmark
::
State
&
state
)
{
4
for
(
auto
_
:
state
)
{
5
benchmark
::
DoNotOptimize
(
state
.
iterations
());
6
}
7
}
8
BENCHMARK
(
BM_empty
);