I am doing first steps with KCachegrind/Cachegrind
.
I run Cachegrind
on machine A then I moved the output files on machine B where I have KCachegrind installed.
I don't know why but I have always first function displayed as (unknown)
and it is bad because I have there the 19.46
of the usage as displayed in the picture.
What I am doing wrong? Is the output file supposed to have all necessary information?
-g
is it enough? I would like to use the ptimized version by the way but I don't know if it works. I would check when this 'unknown' function is called in the lifetime of you program. If the unknown function is called before main then its not your code and you shouldn't really worry about it. If its after main then it still might not be your code, but will take some more investigating.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With