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
My test demo is shown above, but I always get a block of size 0, at the same time the easy_profiler_gui tips Cannot read profiled blocks Reason: Wrong memory size == 0 for 0 blocks
Did I do something wrong?
btw: I'm using version 2.1.0
The text was updated successfully, but these errors were encountered:
You need to close all opened blocks using EASY_END_BLOCK.
In your case, you have opened two blocks with:
EASY_FUNCTION();
EASY_BLOCK("main");
Therefore, you should explicitly close them twice using EASY_END_BLOCK, or alternatively, move the logic inside a function so that the block gets closed automatically in the destructor.
I believe we should handle this within the dumpBlocksToFile function, but we need to carefully consider the synthetic case.
My test demo is shown above, but I always get a block of size 0, at the same time the easy_profiler_gui tips
Cannot read profiled blocks Reason: Wrong memory size == 0 for 0 blocks
Did I do something wrong?
btw: I'm using version 2.1.0
The text was updated successfully, but these errors were encountered: