Instrumentation of calls to routines for which source code...

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 11/36 (2006.01)

Patent

CA 2355839

A method and apparatus for testing and debugging a computer program that invokes one or more programming code modules not having source code available for instrumentation. A programming code module may be a function in a library provided by a third party, for example, that is invoked by a computer program. The programmer indicates which programming code modules should be instrumented by directing the instrumenter to a header file that includes declaration statements for a specific set of programming code modules. A tagging instrumenter inserts a tagging variable assignment statement before and after each invocation of the selected programming code modules in the computer program's source code. The tagging instrumenter assigns a value to an entry tagging variable assignment statement equal to an entry code and a unique programming code module identifier. The tagging instrumenter assigns a value to an exit tagging variable assignment statement equal to an exit code and the unique programming code module identifier. The tagging instrumenter utilizes the same pair of values for each invocation of a given programming code module in the source code. During execution of the instrumented computer program, a probe captures the tagging variable assignment statement value pairs associated with each invocation of a programming code module. Analysis of the tagging variable assignment statement value pairs provides data related to the efficiency of each instrumented programming code module.

Cette invention concerne un procédé et un appareil destinés à tester et à déboguer un programme informatique faisant intervenir un ou plusieurs modules de codes de programmation, ne possédant pas de codes sources disponible pour l'instrumentation. Un module de codes de programmation peut correspondre à une fonction dans une bibliothèque, fournie par un tiers, par exemple appelée par un programme informatique. Le programmateur indique les modules de codes de programmation qui doivent être instrumentés en dirigeant l'instrumenteur vers un fichier d'en-tête, comprenant les énoncés déclaratifs pour un ensemble spécifique de modules de codes de programmation. L'instrumenteur d'étiquetage insère une instruction d'affectation de variable d'étiquetage, avant et après chaque appel des modules de codes de programmation sélectionnés, dans le code source du programme informatique. L'instrumenteur d'étiquetage affecte une valeur à une instruction d'affectation de variable d'étiquetage d'entrée comprenant un code d'entrée et un identificateur unique de module de codes de programmation. L'instrumenteur d'étiquetage affecte une valeur à une instruction d'affectation de variable d'étiquetage de sortie comprenant un code de sortie et l'identificateur unique de module de codes de programmation. L'instrumenteur d'étiquetage utilise la même paire de valeurs pour chaque appel d'un module de codes de programmation donné dans le code source. Durant l'exécution du programme informatique instrumenté, une sonde détermine les paires de valeurs d'instruction d'affectation de variable d'étiquetage, associées à chaque appel de module de codes de programmation. L'analyse des paires de valeurs d'instruction d'affectation de variable d'étiquetage permet d'obtenir des données relatives à l'efficacité de chaque module de codes de programmation instrumenté.

LandOfFree

Say what you really think

Search LandOfFree.com for Canadian inventors and patents. Rate them and share your experience with other people.

Rating

Instrumentation of calls to routines for which source code... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Instrumentation of calls to routines for which source code..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Instrumentation of calls to routines for which source code... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1831721

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.