Data processing: measuring – calibrating – or testing – Measurement system – History logging or time stamping
Reexamination Certificate
1998-10-22
2001-12-18
Hoff, Marc S. (Department: 2857)
Data processing: measuring, calibrating, or testing
Measurement system
History logging or time stamping
C702S182000
Reexamination Certificate
active
06332117
ABSTRACT:
TECHNICAL FIELD
The present invention relates in general to data processing systems, and in particular, the recording of events occurring during an operation of the data processing system.
BACKGROUND INFORMATION
Event recording (tracing) schemes are generally available in many commercially available operating systems. Tracing is quite useful for analysis of the performance of a program, such as an operating system, and for debugging the program. Essentially, tracing is the recording of specified events occurring within a program, which typically consists of pieces of information identifying “what” and “when” whenever an event occurs. Upon the occurrence of a specified event, a call is made to record the traced event within a trace buffer that has been set up, or initialized, to serially record the information in an efficient manner. Since it is desired to record as many events as possible, there is a need to be efficient with the amount of information recorded; otherwise, the trace buffer can fill quite quickly.
FIG. 3
illustrates an example of a typical entry within a trace buffer. The information recorded will include the type
301
of event for which an entry was recorded, a timestamp
302
indicating when the event occurred relative to other events, and some specified data
303
that relates to the event.
The events are collected over a period of time into the trace buffer and then submitted to a postprocessor for analysis. There are many types of analysis possible, but the most typical relates to the amount of time traversed from one type of an event to another (by using the timestamp field to measure elapsed time).
However, such analyses have limits as to what can be observed and evaluated from the trace data. Therefore, there is a need in the art to analyze the performance of a program from a perspective that is user selectable to provide for more variety in how a program's behavior can be studied.
SUMMARY OF THE INVENTION
The present invention addresses the foregoing issues by generalizing the concept of an event's timestamp to be any user-selectable metric of interest (“MOI”). This may include time, bytes allocated by a memory manager, bytes freed by a memory manager, instructions executed, floating point instructions executed, cache misses, misaligned data references, page faults, etc. Essentially, anything that can be monitored and counted within a data processing system may be the MOI.
The present invention then allows the user to easily modify the trace recording mode for any desired MOI.
In an embodiment of the present invention, when a specified event is detected, the event information will be recorded within an entry in the trace buffer, including the MOI. The MOI is specified by a previous mode indicator set by the user or programmer.
The metric of interest may be time or non-time based, and may be monotonically increasing.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention.
REFERENCES:
patent: 3583392 (1971-06-01), Frieberger et al.
patent: 5355487 (1994-10-01), Keller et al.
patent: 5450349 (1995-09-01), Brown, III et al.
patent: 5463775 (1995-10-01), DeWitt et al.
patent: 5564285 (1996-10-01), Jurewicz et al.
patent: 5572672 (1996-11-01), DeWitt et al.
patent: 5642478 (1997-06-01), Chen et al.
patent: 5675511 (1997-10-01), Prasad et al.
patent: 5680864 (1997-10-01), Morgan et al.
patent: 5682328 (1997-10-01), Roeber et al.
patent: 5691917 (1997-11-01), Harrison
patent: 5717879 (1998-02-01), Moran et al.
patent: 5748499 (1998-05-01), Trueblood
patent: 5768119 (1998-06-01), Havekost et al.
patent: 5768500 (1998-06-01), Agrawal et al.
patent: 5774660 (1998-06-01), Brendel et al.
patent: 5938764 (1999-08-01), Klein
patent: 6044335 (2000-03-01), Ksendzov
patent: 6094729 (2000-07-01), Mann
Rosenberg, Jerry M. Ph. D. Dictionary of Computers, Information Processing, and Telecommunications, Second Edition. 1987, p. 652.*
Dictionary of Computing, Fourth Edition. 1996. p. 505.*
“Method for Event Monitoring and Analysis for Check Image Work Flow”,IBM Technical Disclousure Bulletin, vol. 38 , No. 10, Oct. 1995, pp. 453-455.
“Tracing of Large Amounts of Data by Using Main Memory as a Trace Buffer”,IBM Technical Disclosure Bulletin, vol. 40 No. 06, Jun. 1997, pp. 47-50.
“Process for Real-Time, Trace-Driven Performance Monitors”,IBM Technical Disclosure Bulletin, vol. 34 No. 5, Oct. 1991, pp. 415-417.
Robert J. Hall et al., “Call Path Profiling of Monotonic Program Resources in UNIX”, 1993 Summer USENIX—Jun. 21-25, 1993, Cincinnati, OH, pp. 3-6.
Glen Ammons et al., “Exploiting Hardware Performance Counters with Flow and Context Sensitive Profiling”, PLDI 1997, Las Vegas, NV, pp. 85-95.
Thomas Ball et al. “Optimally Profiling and Tracing Programs”, ACM Transactions and Programming Languages and Systems, vol. 16, No. 4, Jul. 1994, pp. 1319-1360.
Berry Robert Francis
Hussain Riaz Y.
John, Jr. Chester Charles
Levine Frank Eliot
Urquhart Robert John
Barbee Manuel L.
Hoff Marc S.
International Business Machines - Corporation
Kordzik Kelly K.
LaBaw Jeffrey S.
LandOfFree
General event stamping scheme does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with General event stamping scheme, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and General event stamping scheme will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-2562918