5.4 Workload Positioning and Cache Models 5.6 Understanding the Statistics of Simple Cache
Analyzer User's Guide  /  5 Cache Simulation  / 

5.5 Using Simple Cache

Let us have a more detailed look at simple_cache. It has the following features:

Transactions are handled one at a time; all operations are done in order, at once, and a total stall time is returned. The transaction is not reissued afterwards. Here is a short description of the way simple_cache handles a transaction:

Note the use of the (read/write)_penalty and the (read/write)_miss_penalty, where the first ones are added regardless if it is a hit or a miss (the time to reach the cache) and the second ones are the cost of having an additional miss. Usually, the write penalties may be set to zero to model (unlimited) store buffers.

5.4 Workload Positioning and Cache Models 5.6 Understanding the Statistics of Simple Cache