Next: Trouble Shooting
Up: M_StopWatch User's Guide
Previous: Options and System
The M_StopWatch distribution contains several example programs to
demonstrate how to use M_StopWatch , and to test the installation. These
programs are located in the tests directory.
/p>
-
simple.f90
-- This is a short example showing the simplest use of M_StopWatch.
-
advanced.f90
-- This example illustrates the use of some of the advanced features
of M_StopWatch.
-
overhead.f90
-- This program prints the clock precisions, and measures the amount
of time used by calls to M_StopWatch subroutines. As long as the clock
precision is much larger than the overhead of a M_StopWatch subroutine,
M_StopWatch should not increase the time being measured.
-
testsw.f90
-- This is a program that tests most of the functionality of M_StopWatch.
-
errors.f90
-- This is a program that tests many of the error conditions detected by
M_StopWatch.
-
bomb.f90
-- This program attempts to make M_StopWatch crash by using a watch that
has not been created. Running this program should indicate how your
system handles this error condition, but there is no guarantee that
your compiler will handle the Fortran error consistently.
william.mitchell@nist.gov