profiling mex using gprof in windows

I'm using TDM-GCC to compile a C mex program in Windows. I'd like to profile it using gprof or really any program that will profile line by line. Anyone have any suggestions as to how to do this?

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by