Evaluation and optimization of code

   
   

A memory map evaluation tool is provided that organizes a program in a manner most compatible with use of a cache. The tool includes a method that involves executing a first version of the program according to a first memory map to generate a program counter trace, converting the program counter trace into a specific format and then translating the program counter trace into physical addresses using a memory map to be evaluated, different from the first memory map. Those physical addresses are then used to evaluate the number of likely cache misses using a model of a direct-mapped cache for the memory map under evaluation.

Ένα εργαλείο αξιολόγησης χαρτών μνήμης παρέχεται που οργανώνει ένα πρόγραμμα κατά τρόπο τον συμβατότερο με τη χρήση μιας κρύπτης. Το εργαλείο περιλαμβάνει μια μέθοδο που περιλαμβάνει την εκτέλεση μιας πρώτης έκδοσης του προγράμματος σύμφωνα με έναν πρώτο χάρτη μνήμης για να παραχθεί ένα αντίθετο ίχνος προγράμματος, που μετατρέπει το αντίθετο ίχνος προγράμματος σε ένα συγκεκριμένο σχήμα και έπειτα που μεταφράζει το αντίθετο ίχνος προγράμματος στις φυσικές διευθύνσεις χρησιμοποιώντας έναν χάρτη μνήμης που αξιολογείται, διαφορετικός από τον πρώτο χάρτη μνήμης. Εκείνες οι φυσικές διευθύνσεις χρησιμοποιούνται έπειτα για να αξιολογήσουν τον αριθμό πιθανής κρύπτης λείπουν ένα πρότυπο μιας άμεσος-ταξινομικής κρύπτης για το χάρτη μνήμης υπό αξιολόγηση.

 
Web www.patentalert.com

< Apparatus and method for reduction of power consumption in OS that use flat segmentation memory model

< Method and system for cache management algorithm selection

> Methods and apparatus for implementing a chche replacement scheme

> Cache control device and manufacturing method thereof

~ 00174