Sign in
pigweed
/
third_party
/
github
/
google
/
benchmark
/
bc946b919cac6f25a199a526da571638cfde109f
/
.
/
test
/
link_main_test.cc
blob: 131937eebca9d76f538645a5576189aa14572996 [
file
] [
log
] [
blame
]
#include
"benchmark/benchmark.h"
void
BM_empty
(
benchmark
::
State
&
state
)
{
for
(
auto
_
:
state
)
{
auto
iterations
=
double
(
state
.
iterations
())
*
double
(
state
.
iterations
());
benchmark
::
DoNotOptimize
(
iterations
);
}
}
BENCHMARK
(
BM_empty
);