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!