Can't profile my simple program. #4650
Unanswered
weisuofayuba
asked this question in
Q&A
Replies: 1 comment
-
What do you mean by that? Can you provide a screenshot? A couple of questions to be answered:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I write a test program and profile it with Orbit,
`int func1(void)
{
int sum=0;
for(int i=0;i<100000;i++)
{
sum+= i;
}
return sum;
}
int func2(void)
{
int sum=0;
for(int i=0;i<1000000;i++)
{
sum+= i;
}
return sum;
}
int main(int argc, char **argv)
{
while(1){
func1();
func2();
}
}`
But Orbit doesn't show any info in "Top-Down" and "Bottom-Up".
Beta Was this translation helpful? Give feedback.
All reactions