Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] abuh_v1_0.gz(6 Kbytes)
Manuscript Title: TIMER - a software instrumentation routine for making timing measurements.
Authors: M.H. Hughes, A.P.V. Roberts
Program title: TIMER
Catalogue identifier: ABUH_v1_0
Distribution format: gz
Journal reference: Comput. Phys. Commun. 8(1974)118
Programming language: Fortran.
Computer: ICL SYSTEM 4/70.
Operating system: MULTIJOB.
Word size: 32
Keywords: General purpose, Instrumentation, Timing, Utility.
Classification: 4.14.

Nature of problem:
TIMER is an instrumental routine which measures and records the CPU timespent in various sections of a program, so that effort spent in optimization can be concentrated where it will be most effective.

Solution method:
Appropriate calls to the Fortran IV routine TIMER are used to switch set of up to 50 software clocks on and off and print details as required. A correction is made for time spent in the routine itself and in the routine itself and in the supervisor.

TIMER can be used on any computer system for which a suitable hardware clock is available, provided that the call to this clock is modified appropriately and the necessary timing corrections measured and inserted.