MATLAB Profiler - Granularity of Information

4 ビュー (過去 30 日間)
Evans Harrigan
Evans Harrigan 2020 年 9 月 1 日
回答済み: Yair Altman 2020 年 9 月 8 日
MATLAB Profiler produces very coarse granularity of performance statistics on a model I'm developing and testing:
  • # of times a routine is called;
  • Total Time, and Self Time.
However no information is provided on other routines, including MATLAB primitives, called. Can this finer grained information be obtained from Profiler?
  6 件のコメント
per isakson
per isakson 2020 年 9 月 4 日
There are four technical articles on Undocumented profiler options on Altman's web-site. And he mostly provides good answers to specific questions in the comment sections.

サインインしてコメントする。

採用された回答

Yair Altman
Yair Altman 2020 年 9 月 8 日
Use the [undocumented] -detail builtin profiler option, as in: profile on -detail builtin
This works on old Matlab releases as well as new ones.

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2020 年 9 月 3 日
This got better in R2020a with the new interface to the profiler.
  1 件のコメント
Evans Harrigan
Evans Harrigan 2020 年 9 月 4 日
We are planning to upgrade to this version, imminently.

サインインしてコメントする。

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by