Sign in
cobalt
/
cobalt.git
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
google_benchmark
/
src
/
test
/
link_main_test.cc
blob: e806500a9a6f6adf924e0a7c51ed4922c8ce00ce [
file
]
#include
"benchmark/benchmark.h"
void
BM_empty
(
benchmark
::
State
&
state
)
{
for
(
auto
_
:
state
)
{
auto
iterations
=
state
.
iterations
();
benchmark
::
DoNotOptimize
(
iterations
);
}
}
BENCHMARK
(
BM_empty
);