[julia-users] Re: @time tic() toc()

2015-12-12 Thread Kristoffer Carlsson
The parallel calls are asynchronous so they will return right away? On Saturday, December 12, 2015 at 4:36:14 PM UTC+1, digxx wrote: > > Why @sync? > It's not mandatory or is it related to getting @time work? And why? >

[julia-users] Re: @time tic() toc()

2015-12-12 Thread digxx
Why @sync? It's not mandatory or is it related to getting @time work? And why?

[julia-users] Re: @time tic() toc()

2015-12-11 Thread Tomas Lycken
Try @time @sync @parallel for i=1:10 ... end On Thursday, December 10, 2015 at 11:55:58 PM UTC+1, digxx wrote: > > Apparently for a parallel loop the @time macro or tic() toc() do not > measure the time?! > I directly get a result for the time but know that the calculation is > still