Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_external_libcxx
/
0860713e9e190932f0bf39991e362e3705da8ae7
/
.
/
utils
/
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
);