You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cache_simulator_t::process_memref() has some anomalies I noticed while adding docs for #7224.
I was updating the -skip_refs, -sim_refs, and -warmup_refs docs to clarify they count memtrace records: all records, and not just loads/stores, as "memrefs" could imply if you didn't think it meant the memref_t type.
Yet: process_memref() has an early exit for all markers, added for -cpu_scheduling in 2018. That means that skip_refs counts all records, but -sim_refs and -warmup_refs count all non-marker records.
While it could be useful perhaps to skip markers, that makes it hard to compare to the record ordinals in the stream interface. Plus other tools like the view tool have -sim_refs counting all records. Plus it's weird to have-skip_refs count something different. So they should all count all records? And maybe later add instruction-counting versions of them.