OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ANRdaemon: move trace result from /sdcard to /data am: d93aa41807
[android-x86/system-extras.git]
/
simpleperf
/
runtest
/
two_functions.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
void Function2() {
9
for (volatile int i = 0; i < LOOP_COUNT; ++i) {
10
}
11
}
12
13
int main() {
14
Function1();
15
Function2();
16
return 0;
17
}