Sign in
cobalt
/
cobalt
/
9708d320f5c570ac1ada07d0e0136706ac0a5c29
/
.
/
third_party
/
google_benchmark
/
test
/
link_main_test.cc
blob: 241ad5c3905e9f4ca7dfa95f58428c9ba93b9e59 [
file
] [
log
] [
blame
]
#include
"benchmark/benchmark.h"
void
BM_empty
(
benchmark
::
State
&
state
)
{
for
(
auto
_
:
state
)
{
benchmark
::
DoNotOptimize
(
state
.
iterations
());
}
}
BENCHMARK
(
BM_empty
);