On Thu, Sep 06, 2018 at 01:05:05PM -0700, Reinette Chatre wrote: > When I separate the above into the two functions it just becomes either: > rdpmcl(l2_hit_pmcnum, l2_hits_after); > rdpmcl(l2_miss_pmcnum, l2_miss_after); > or: > rdpmcl(l3_hit_pmcnum, l3_hits_after); > rdpmcl(l3_miss_pmcnum, l3_miss_after); >
Right, which is the exact _same_ code, so you only need a single function.