how can I get details about the functions called inside parfor in a profile summary report?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nadia A
am 22 Jun. 2016
Kommentiert: Edric Ellis
am 23 Jun. 2016
Hi
when I run profiler for a code which contains a parfor, the profiler report shows only the total time parfor takes and not the number of times a function or statements inside a parfor are called or the time taken by them. How do I get this information? The function and statements inside parfor are in grey in the report.
Thanks Nadia
0 Kommentare
Akzeptierte Antwort
Edric Ellis
am 22 Jun. 2016
spmd, mpiprofile('on'); end
parfor
...
end
spmd, mpiprofile('viewer'); end
2 Kommentare
Edric Ellis
am 23 Jun. 2016
Unfortunately it isn't currently possible to view both at the same time. (You can use the programmatic API to both profile and mpiprofile to collect the information simultaneously)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel for-Loops (parfor) finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!