How to find amount of time spent and number of times that own function is called?

조회 수: 2 (최근 30일)
I recently started to use Profiler with the hopes of using it to find performance bottlenecks, etc. I have found the results quite difficult to use (or perhaps, it is a problem that the documentation is not detailed enough). For example, I would like to find the number of times (and amount of time used) that my own sub-functions are called by a higher-level function. However, the results seem to be sporadic in including these sub-functions in the results. Is there a way to specify the detail level of the Profiler to only include user-defined functions and/or to show all usage of user-defined functions?
  댓글 수: 2
Jan
Jan 2013년 6월 19일
What does "the results seem to be sporadic" explicitly means?
Robert
Robert 2013년 6월 19일
I meant that only a subset of the called sub-functions are included in the profile report. I can't figure out any pattern to which one's are included, and I would expect all of them to be included.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by