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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -