; --------------------------------------------------------------------------------
; @Title: Example of statistic performance analysis for 68020/32Bit without data tags
; @Description: 
;   by using the multiple trace strategy.
;   This strategy tries to find prefetches by looking to the next cycles.
;   If fetching continues after the address, it is assumed that the location
;   was executed. When the next cycle is not fetched, then the access was only
;   a prefetch.
; @Props: NoWelcome
; @Author: -
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: perf_020.cmm 6904 2014-04-21 15:16:07Z kjmal $


;select stack operation mode (so the meassurement stops automatically)
 Analyzer.Mode stack

;program trigger unit for selective trace
 Analyzer.ReProgram perf_020

;define prefetch detection strategy
 Analyzer.STATistic.PreFetch ON 0x1

;define sorting mode
 Analyzer.STATistic.Sort Address

;set tags in code
 Break.SetFunc

;display some windows
 Analyzer.List func TIme.FUNC TIme.REF cpu
 Analyzer.STATistic
 Analyzer.Chart
 ENDDO

