Timer — A software instrumentation routine for making timing measurements

Timer — A software instrumentation routine for making timing measurements

C-267 COMPUTER PHYSICS COMMUNICATIONS 8 (1974) 1 1 8 - 1 2 2 . NORTH-HOLLAND PUBLISHING COMPANY TIMER - A SOFTWARE INSTRUMENTATION ROUTINE FOR MAKING...

32KB Sizes 2 Downloads 108 Views

C-267 COMPUTER PHYSICS COMMUNICATIONS 8 (1974) 1 1 8 - 1 2 2 . NORTH-HOLLAND PUBLISHING COMPANY

TIMER - A SOFTWARE INSTRUMENTATION ROUTINE FOR MAKING TIMING MEASUREMENTS M.H. HUGHES and A.P.V. ROBERTS UKAEA Culham Laboratory, Abingdon, Berkshire, UK Received 2 January 1974

PROGRAM SUMMARY Title of program: TIMER

Keywords: General purpose, instrumentation, timing.

Catalogue number: ABUH

Nature of physical problem

Computer: ICL System 4/70; Installation: U K A E A Culham Lab-

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

oratory

Operating system: Multijoh Programming language used: Fortran ,

High speed storage required: 28440 khytes

Method of solution

Overlay structure: None

Appropriate calls to the Fortran IV routine TIMER are used to switch set o f 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 supervisor.

No. of magnetic tapes required: None

Restrictions on the complexity of the problem

Other peripherals used: Lineprinter

TIMER can be used on any c o m p u t e r 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.

No. of bits in a word: 32

No. of cards in combined program and test deck: 545 * for test program.