MATLAB Profiler - Granularity of Information

1 visualización (últimos 30 días)
Evans Harrigan
Evans Harrigan el 1 de Sept. de 2020
Respondida: Yair Altman el 8 de Sept. de 2020
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 comentarios
Evans Harrigan
Evans Harrigan el 3 de Sept. de 2020
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 el 4 de Sept. de 2020
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.

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (1)

Sean de Wolski
Sean de Wolski el 3 de Sept. de 2020
This got better in R2020a with the new interface to the profiler.
  1 comentario
Evans Harrigan
Evans Harrigan el 4 de Sept. de 2020
We are planning to upgrade to this version, imminently.

Iniciar sesión para comentar.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by