Browse Prior Art Database

Call Stack Hierarchical reporting

IP.com Disclosure Number: IPCOM000042757D
Original Publication Date: 2005-Feb-04
Included in the Prior Art Database: 2005-Feb-04
Document File: 2 page(s) / 12K

Publishing Venue

IBM

Abstract

Disclosed is a module trace facility for call stack hierarchical reporting. This module trace facility takes the hierarchical information of calling modules per each thread at the entry and exit of each module, as well as some statistics like the called count and execution time. This hierarchical information enables to report the structure of caller/callee module relationships at runtime, and to determine the execution time and called count from the view of each caller/callee module relationship. This runtime module calling structure diagram report can identify not only the time-consuming (bottleneck) module itself but also its calling (parent) modules. Such the runtime context of module relationship makes it easier to reduce the calls to the time-consuming modules.

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

Page 1 of 2

Call Stack Hierarchical reporting

Disclosed is a module trace facility for call stack hierarchical reporting. This module trace facility takes the hierarchical information of calling modules per each thread at the entry and exit of each module, as well as some statistics like the called count and execution time. This hierarchical information enables to report the structure of caller/callee module relationships at runtime, and to determine the execution time and called count from the view of each caller/callee module relationship. This runtime module calling structure diagram report can identify not only the time-consuming (bottleneck) module itself but also its calling (parent) modules. Such the runtime context of module relationship makes it easier to reduce the calls to the time-consuming modules.

This disclosure consists of 1) trace data information, and, 2) runtime module calling structure diagram report.

The runtime module calling structure diagram report is constructed from the trace data information . Elapsed time of calling (parent) module can either include or exclude all child modules' time. Called count and elapsed time (average, max and min from the top) for each module are printed.

TCT : MTT00001     (Task name : Task ID) HFPMAIN0 -+- HFPMINT0 -+- HFPMIT10 -+- HFPUPUT0                        |  00000001  |  00000001  |  00001201                      |  ss.sss    |  ss.sss    |  ss.sss                          |  ss.sss    |  ss.sss    |  ss.sss                          |  ss.sss    |  ss.sss    |  ss.sss                          |            |            +- HFPMINP0 -+- HFPUDVC0           |            |               00000001  |  00000003           |            |               ss.sss   ...