Difference between Very sleepy and Callgrind for C++ profiling -
i trying learn difference between very sleepy , callgrind profiling. code intend profile written in c++ , works under both linux , windows.
on linux, able use callgrind @ self , inclusive relative costs. understand, callgrind uses instrumented profiling technique , takes considerable time. however, sleepy uses statistical profiling , quick. since both uses different approaches profiling, cannot compare results two.
is there way can sort of profile comparison on both linux , windows? unfortunately, callgrind unavailable windows , vice versa sleepy.
no. such comparison between 2 unlike things. use sampling when accurate profiling cannot afford overhead. use instrumentation when need understand control flow on time.
Comments
Post a Comment