how can I get details about the functions called inside parfor in a profile summary report?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Edric Ellis
2016년 6월 22일
spmd, mpiprofile('on'); end
parfor
...
end
spmd, mpiprofile('viewer'); end
댓글 수: 2
Edric Ellis
2016년 6월 23일
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)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!