Patent ID: 7926041
Filing Date: 2011-04-12
Classification: G06F

Abstract:
1. A data processing system for presenting coverage data for code, the data processing system comprising: receiving means for receiving, by an instruction cache, code for execution; sending means for, responsive to the code being executed by an execution unit, sending a signal, by a completion buffer, to the instruction cache that the code has executed, wherein the completion buffer comprises information identifying the code for which execution has completed; setting means for, responsive to receiving the signal from the completion buffer, setting, by the instruction cache, in metadata, instruction access indicators, wherein the metadata comprises a prefetch indicator in the form of a pointer, an identification of data to be prefetched from a data structure by the pointer, and an identification of the data through the use of an offset or an address, wherein each instruction access indicator is associated with a different portion of the code, and wherein each instruction access indicator is initialized as being unset prior to execution of its associated code portion; obtaining means for obtaining the coverage data containing instruction access indicators associated with the code; generating means for generating a presentation for the coverage data, wherein the set instruction access indicators are identified in the presentation; and identifying means for identifying unset instruction access indicators that have remained unset during the execution of the code by a processor, wherein each unset instruction access indicator is associated with an unexecuted portion of the code, and wherein each unset instruction access indicator is identified in the presentation.