LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Arvind Gopu (agopu_at_[hidden])
Date: 2005-08-02 09:36:22


On 2005-08-01 08:45 (-0700), ThanhVu Nguyen had pondered:

> Hi, just wondering what the standard way of measure the execution time
> ?
>
> 2 methods can be :
>
> 1) /usr/bin/time prog : this includes all the communcation, i/o ,
> loading overhead etc
>
> 2) include start_time , end_time code in the program : this won't
> include the communication , i/o , loading etc overhead.

You could use MPI_Wtime () -- is that what you meant when you said
"..include start_time , end_time code.."? Or you could use a profiler
(eg. Valgrind, Intel Trace tools) for more detailed information.

cheers,-AG