measure time elapsed Algorithm

Conversely, programs working in parallel on more than one processing unit can spend CPU time many times beyond their elapsed time. In other words, it is the difference between the time at which a undertaking finishes and the time at which the undertaking started.

measure time elapsed source code, pseudocode and analysis