Debian Codegraph @

simpleperf/runtest/one_function.cpp

raw
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 }