ssrun: Performance Experiment
ssrun -expname options program prog-arg
ssrun options:
- -workshop files will be used by the GUI tools (WorkShop)
Performance experiments: -expname | -exp expname
- -usertime (to get exclusive & inclusive times per subroutine)
- Measures CPU time, including
- the time program is actually running
- the time the system is providing services for your program (system calls)
- excludes the time the program is waiting to execute
- -[f]pcsamp[x] (to get exclusive time per subroutine and source line)
- Measures the time program is actually running
- excludes the time the program is waiting for system services
- the f is for 1 ms interrupt interval, x is for 32 bit bins
- -ideal
- counts Basic Blocks in the program (needed for compiler feedback)
- -mpi
- traces various Message Passing Interface (MPI) routines
- -usertime kernprof -p cpu-id
- kernel profiling for cpu(s) cpu-id (see man kernprof(1))