StopWatch


The latest verson is 1.0, released January 2, 1997. There are a few changes from the previous version.

StopWatch is a Fortran 90 module for measuring execution time of program segments. It is designed to be a portable, easy-to-use means of measuring execution time. It supports the wall clock, CPU clock, a breakdown of the CPU clock into user and system times, and returns all times in seconds. It provides a simple means of determining which clocks are available, and the precision of those clocks. It is written in a style that allows it to be used with the subset languages Elf90 and F, as well as full Fortran 90 and Fortran 95 compilers.

StopWatch is used by instrumenting your code with subroutine calls that mimic the operation of a stop watch. The primary routines are start_watch, stop_watch, reset_watch, read_watch and print_watch. StopWatch supports multiple watches, and provides the concept of watch groups to allow functions to operate on multiple watches simultaneously.

documentation           software           examples

Please send responses to william.mitchell@nist.gov. Thank you.


Development status: Minimal Maintenance
Last change to this page: December 23, 2003
Date this page created: 1997
Contact: William Mitchell
Home Page