2
votes

I have written parallel program for HYPR sequential algorithm which basically reconstructs medical image in matalb. I want to know how to find the execution time of parallel program in matlab. I tried with tic and toc. But i get different execution time whenever i run the program.

1
Then maybe the execution time is different each time? Please explain further: are you trying to measure the time for your whole program to run? Why would it make a different if it was parallel? How do tic and toc not do what you expected? - devrobf

1 Answers

2
votes

Try MATLAB's profiler with the built-in functionality of profiling parallel code.