This repository was archived by the owner on Jan 31, 2025. It is now read-only.
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
Uh oh!
There was an error while loading. Please reload this page.
-
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