Sign in
android
/
platform
/
system
/
extras
/
4cdb0494ebe9ebe58339628b63de3c3d9b6103e3
/
.
/
simpleperf
/
testdata
/
elf_file_source.cpp
blob: 3cfd00ba87d3d70bc963eb15380e346120cdae1c [
file
] [
log
] [
blame
]
#include
<pthread.h>
volatile
int
GlobalVar
;
extern
"C"
void
CalledFunc
()
{
GlobalVar
++;
}
extern
"C"
void
GlobalFunc
()
{
for
(
int
i
=
0
;
i
<
1000000
;
++
i
)
{
CalledFunc
();
}
}
int
main
()
{
while
(
true
)
{
GlobalFunc
();
}
return
0
;
}