[英]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.
我想计算并行程序的经过时间和CPU时间。 Is the following formula correct?
以下公式正确吗?
Elapsed time = the maximum elapsed time of three processes 经过时间=三个过程的最大经过时间
CPU time = the sum of each process's CPU time CPU时间=每个进程的CPU时间之和
Thanks 谢谢
是,如果进程同时开始。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.