Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
google_benchmark
/
test
/
link_main_test.cc
blob: 241ad5c3905e9f4ca7dfa95f58428c9ba93b9e59 [
file
] [
log
] [
blame
]
Andrew Top
a7b1cfa
2019-12-18 19:15:07 -0800
[
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
);