Browse Prior Art Database

Length and Type Attributes as Timing Data

IP.com Disclosure Number: IPCOM000085827D
Original Publication Date: 1976-Jun-01
Included in the Prior Art Database: 2005-Mar-03
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Britt, SH: AUTHOR [+3]

Abstract

For a program written in a language where each instruction is a call to a macro, the estimated execution time can be accumulated and saved as the length and type attributes of program labels. Thus saved, the information can be manipulated and displayed under programmer control at assembly time. The method uses the IBM System/370 level H assembler program to process the macro generation.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 1

Length and Type Attributes as Timing Data

For a program written in a language where each instruction is a call to a macro, the estimated execution time can be accumulated and saved as the length and type attributes of program labels. Thus saved, the information can be manipulated and displayed under programmer control at assembly time. The method uses the IBM System/370 level H assembler program to process the macro generation.

Each macro call causes execution time for that instruction to be added to a global arithmetic variable. Macros for adjusting and resetting the accumulated time are provided in the program language.

Program labels are generated via the assembler equate (EQU) instruction explicitly assigning length and type attributes so that when considered together, they represent a three-byte time value.

These time values are easily retrieved by subsequent calls to time-display macros, also included in the program language, which references the required symbol's length and type attributes as operands of the assembler set arithmetic (SETA) or set character (SETC) instructions, respectively.

The terms macro, program label, macro, macro generation, global arithmetic variable, length attribute, type attribute, and the instructions EQU, SETA and SETC are used as defined in the publication entitled "OS/VS-DOS/VS-VM/370 Assembler Language", Fourth Edition, Sept. 1974, copyright 1974, GC33-4010- 3, File No. S370-21, International Business Machines Corporation.

1

...