Patent ID: 7457923
Filing Date: 2008-11-25
Classification: G06F

Abstract:
1. A computer-based method comprising: determining, by executing a sequence of program instructions of a computer program on a processor during execution of said computer program, whether a triggering event, correlated with a cache miss for a load instruction occurred, wherein said determining by executing a sequence of program instructions comprises: generating a first value by executing instructions in said sequence of program instructions wherein said first value is based on characteristics associated with said triggering event; comparing said first value with a known value to determine whether a predetermined relationship exists between said first value and said known value; and indicating said triggering event occurred when said comparing finds a predetermined relationship between said first value and said known value and otherwise indicating said triggering event did not occur; prefetching, by executing a scout code sequence of program instructions on said processor, data for the load instruction following the determining finding that the triggering event occurred; and continuing without prefetching data for the load instruction following the determining finding that the triggering event had not occurred, wherein said triggering event comprises at least one of a correlated cache miss event and a correlated control flow event;