android_mt6572_jiabo/system/extras/simpleperf/runtest/two_functions.cpp
2025-09-05 16:56:03 +08:00

17 lines
248 B
C++

constexpr int LOOP_COUNT = 100000000;
void Function1() {
for (volatile int i = 0; i < LOOP_COUNT; ++i) {
}
}
void Function2() {
for (volatile int i = 0; i < LOOP_COUNT; ++i) {
}
}
int main() {
Function1();
Function2();
return 0;
}