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
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to