Section: 4.5 Using SMC's
4.5 Using SMC's built-in CPU-usage functionality
Scali MPI Connect has the capability to report wall clock time, and user and system CPU time on all processes with a
The information displayed is collected with the
The output has two different blocks. The first block contains
For example, to get the CPU usage when running the image enhancement program do:
user% SCAMPI_CPU_USAGE=1 mpirun
This produces the following report:
Submonitor timing stat. in secs | ||||||||
Elapsed | User | System | Sum | User | System | Sum | ||
2.970 | 0.000 | 0.000 |
| 0.000 | 0.090 | 0.030 | 0.120 | |
3.250 | 0.000 |
| 0.060 | 0.040 | 0.100 | |||
3.180 | 0.050 | 0.030 | 0.080 | |||||
3.190 | 0.010 | 0.000 |
| 0.010 | 0.090 | 0.020 | 0.110 | |
Total for submonitors | 12.590 | 0.010 | 0.010 | 0.290 | 0.120 | 0.410 | ||
Average per submonitor | 3.147 | 0.003 | 0.003 | 0.073 | 0.030 | 0.103 |
Process | timing stat. in secs | Elapsed | Own | ||
User | System | Sum | |||
0.080 | 0.070 | 0.030 | 0.100 | ||
0.050 | 0.020 | 0.040 | 0.060 | ||
0.050 | 0.020 | 0.030 | 0.050 | ||
0.010 | 0.020 | 0.020 | 0.040 | ||
Sum for | processes | 0.190 | 0.130 | 0.120 | 0.250 |
Average | per process | 0.048 | 0.033 | 0.030 | 0.062 |
Elapsed | is walltime used by |
|
| ||
User is |
|
|
System is
Sum is total
Scali MPI Connect Release 4.4 Users Guide | 45 |