steve lin
steve lin

Reputation: 109

Calculate elapsed time and cpu time of a parallel program

All:

I have a parallel program which has three processes. Each process is running on a different machine. I would like to calculate the elapsed time and CPU time of the parallel program. Is the following formula correct?

Elapsed time = the maximum elapsed time of three processes

CPU time = the sum of each process's CPU time

Thanks

Upvotes: 0

Views: 401

Answers (1)

Ole Tange
Ole Tange

Reputation: 33685

Yes if the processes start at the same time.

Upvotes: 1

Related Questions