☰
Debian Codegraph
@
10.0.0+r36+ds-2.1
/
/
simpleperf
/
runtest
/
one_function.cpp
☽
☼
simpleperf/runtest/one_function.cpp
code
plain
raw
Apache-2.0
2005-2015, The Android Open Source Project
debian/copyright
1
constexpr int LOOP_COUNT = 100000000;
2
3
void Function1() {
4
for (volatile int i = 0; i < LOOP_COUNT; ++i) {
5
}
6
}
7
8
int main() {
9
while (true) {
10
Function1();
11
}
12
return 0;
13
}