| David Ham 2004-09-28, 9:04 am |
| On 28 Sep 2004 03:35:44 -0700
nicolas.lardjane@simulog.fr (Nicolas Lardjane) wrote:
> "rudi" <rudi80@katamailNO.it> wrote in message
> news:<g8d5d.3841$O9.304490@news4.tin.it>...
>
> The simplest way is to use the time command or just link with a C
> function to get the CPU time if your f95 compilo does not have it
> fully implemented.
> NL
Um, an f95 compiler by definition has functions for this. If it doesn't,
it's not an F95 compiler. time is an effective method if you are
interested in the execution time of the whole program but often this is
not the case (you want to compare execution times for a particular part
of the algorithm).
Linking to C creates portability headaches. Note that the OP wanted to
compare performance accross different platforms to portability is an
issue.
David
|