under Contract DABT63-95-C-0127 and ARPA order no. D346. The current support for this work comes from a variety of sources, all of to which we are indebted.
Horwitz et al. [3] formally described an optimal algorithm thatincludes writes; however, only MIN is implemented in the simu-lator.
We have included the Cheetah engine as a stand-alone library,which is built and resides in thelibcheetah/ directory.sim-cheetah accepts the following command-line arguments, in addi-tion to those listed at the beginning of Section4:-refs [inst | data | uni ed]
specify which reference stream to analyze.
-C [fa | sa | dm]
fully associative, set associative, or direct-mapped cache.replacement policy.
log base 2 minimum bound on number ofsets to simulate simultaneously.
log base 2 maximum bound on set number.cache line size (in bytes).
maximum associativity to analyze (in logbase 2).
cache size interval to report when simulatingfully associative caches.
maximum cache size of interest.
cache size for direct-mapped analyses.
-pcstat <stat>
where <stat> is the integer counter that youwish to pro le by text address.
To generate the statistics for the pro le, follow the followingexample:
sim-profile -pcstat sim_num_insn test-math >&!
test-math.out
objdump -dl test-math >! test-math.distextprof.pl test-math.dis test-math.out
sim_num_insn_by_pc
-R [lru | opt]-a <sets>-b <sets>-l <line>-n <assoc>-in <interval>-M <size>-C <size>
We show a segment of the text pro le output in Figure4. Makesure that “objdump” is the version created when compiling thebinutils. Also, the rst line oftextprof.pl must be changedto re ect your system’s path to Perl (which must be installed onyour system for you to use this script). As an aside, note that “-taddrprof” is equivalent to “-pcstat sim_num_insn”.
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新人文社科The simplescalar tool set, version 2.0(10)全文阅读和word下载服务。
相关推荐: