Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Regarding the execution time calculation
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2012-05-07 20:40:02


On May 7, 2012, at 8:31 PM, Jingcha Joba wrote:

> So in the above stated example, end-start will be: <whatever the solver took> + 20ms ?
>
> (time slice of P2 + P3 = 20ms)

More or less (there's nonzero amount of time required for the kernel scheduler, and the time quantum for each of P2 and P3 is likely not *exactly* 10ms). But you're over thinking this.

The elapsed wall-clock time is simply (end-start).

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/