I am trying to learn the difference between The code I intend to profile is written in C ++ and works under both Linux and Windows.
On Linux, I was able to use Callgrind to look at myself and inclusive relative costs. What I think, the callgrind uses the profiling technique used and takes a lot of time. However, very sleepy uses statistical framework and is very fast. Since both profiles use different methods, so I can not compare with two results.
Is there any way that I can compare some types of profiles between Linux and Windows? Unfortunately, callgrid is unavailable for Windows and is very much the opposite to sleep.
No such comparison is contrary to two things, use the sample when you have an overhead Can not stand. When you need to understand the control flow over time, then use instrumentation
No comments:
Post a Comment