[Beowulf] Re: LAM: Time Measurement

Arvind Gopu agopu at cs.indiana.edu
Tue Aug 2 07:36:22 PDT 2005


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



More information about the Beowulf mailing list