Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
spru509f(введение).pdf
Скачиваний:
14
Добавлен:
18.05.2015
Размер:
1.72 Mб
Скачать

www.ti.com

Application Code Tuning (ACT)

Figure 6-7. CodeSizeTune Advice

6.2.4Cache Tune

The CacheTune tool provides a graphical visualization of cache accesses over time. This tool is highly effective at highlighting non-optimal cache usage (due to conflicting code placement, inefficient data access patterns, etc.). Using this tool, you can significantly optimize cache efficiency, thereby reducing the cycles consumed in the memory subsystem and improving the cache efficiency of the overall application.

All the memory accesses are color-coded by type. Various filters, panning, and zoom features facilitate quick drill-down to view specific areas. This visual/temporal view of cache accesses enables quick identification of problem areas, such as conflict, capacity, or compulsory misses.

The TuningCacheTune menu item launches the Cache Tune tool showing the latest cache traces. Various options must be chosen in the Profile Setup to view the cache traces, see the online help for more information. There are three kinds of cache trace files:

Program Cache trace

Data Cache trace

Cross Cache trace

The data cache trace tab is displayed by default. If no cache traces have been collected, then the graph is empty.

Once the tool is launched, you can view other cache data files by opening a saved dataset.

Datasets can be opened by clicking the Open dataset button, pressing its hotkey, or clicking the Load dataset item in the context menu.

See the Cache Analysis User’s Guide (SPRU575) on the TI website for further information on the Cache Analysis tool.

SPRU509F –May 2005

Analyze/Tune

85

www.ti.com

Application Code Tuning (ACT)

Figure 6-8. Cache Tune Tool

86

Analyze/Tune

SPRU509F –May 2005

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]