mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
(should fix bug 169505) This uses the same event queue scheme as cachegrind and lackey, and same kind of helpers (1/2/3 Ir events, Ir+Dr, Dr, Ir+Dw, Dw). Note that in contrast to Cachegrind, Callgrind interpretes a modify event as Dw (otherwise the cache model generating write back events would not work). Callgrind uses per-(guest)instruction event sets for cost counters. An per-instruction eventset is incrementally extended as events for the same guest instruction are flushed. Event sets always start with Ir counters, but depending on Dr/Dw order afterwards, there exist IrDr(Dw) and IrDw(Dr). Per-instruction event sets now are consistently named according to event ordering. Event set "sim" is a subset of "full", was never used and was removed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10321