You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running this with multiple blocks to track functions but I'm only seeing my main block.
The code with the other non-main blocks is running though (it 100% is running). Why is this happening? I have a function that gets called a lot in a loop that I just added an EASY_BLOCK at the top of it. So:
int main() {
EASY_PROFILER_ENABLE;
EASY_BLOCK("main");
while (true) { // this is a more complicated loop that runs until ctrl-c is invoked which is handled
func()
}
EASY_END_BLOCK;
profiler::dumpBlocksToFile("test_profile.prof");
}
However, I'm seeing this red colour which may refer to this Red block I have but how can I see its info? The table shows main only and nothing else. Not even the name of the red block.
Any ideas?
The text was updated successfully, but these errors were encountered:
Hi @nayefc
Your example seems OK to me...
Please, try to get familiar with profiler_sample project - maybe you will find some differences, - or give some more details.
It would be nice to hear from you after you will find what is going wrong too.
Hi,
I am running this with multiple blocks to track functions but I'm only seeing my main block.
The code with the other non-main blocks is running though (it 100% is running). Why is this happening? I have a function that gets called a lot in a loop that I just added an EASY_BLOCK at the top of it. So:
However, I'm seeing this red colour which may refer to this Red block I have but how can I see its info? The table shows main only and nothing else. Not even the name of the red block.
Any ideas?
The text was updated successfully, but these errors were encountered: