MATLAB Profiler - Granularity of Information

1 次查看(过去 30 天)
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 个评论
Evans Harrigan
Evans Harrigan 2020-9-3
Yes, I'm aware of Altman's book and plan to purchase it as a reference. The graphical feature should be useful. However, access to the data from which the graphs are produced is also of interest to our team. Thanks for this reference.
Evans
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.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by