OSDN Git Service

ANRdaemon: move trace result from /sdcard to /data am: d93aa41807
[android-x86/system-extras.git] / simpleperf / runtest / one_function.cpp
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   Function1();
10   return 0;
11 }