×

Ordering of high use program code segments using simulated annealing

  • US 7,308,683 B2
  • Filed: 10/30/2003
  • Issued: 12/11/2007
  • Est. Priority Date: 10/30/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method of ordering program code in a computer memory, the method comprising:

  • selecting an ordering from among a plurality of orderings for a plurality of program code segments using a heuristic algorithm, wherein the heuristic algorithm comprises a simulated annealing algorithm, wherein selecting the ordering using the heuristic algorithm includes testing a subset of the plurality of orderings, and wherein testing the subset of the plurality of orderings includes, for each ordering in the subset, calculating a cost for such ordering based upon cache miss rates for such ordering, and randomly selecting a different ordering after testing an ordering from the subset of orderings; and

    ordering the plurality of program code segments in a memory of a computer using the selected ordering.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×