HOMS-OSS / ruperf

A smart and sophisticated performance analysis crab.
GNU General Public License v2.0
7 stars 5 forks source link

Cache Events #76

Closed Sl1mb0 closed 3 years ago

Sl1mb0 commented 3 years ago

I added support for L1D cache read/writes and L1I cache reads (can only read from instruction cache). I also plan on adding support for the TLB, since that also has a high frequency of use. It is important to note that currently, l1_inst_cache_read_open_test() fails due to a panic when creating the file descriptor. I am not sure why, and figured it should be included in case anyone wants to take a crack at it. Also note that test failure is possible if the caches are never actually accessed (they might not have to be), or their accesses don't miss.

Boursler commented 3 years ago

Unfortunately I need to amend my previous statement, I was sloppy and missed that for me L1I-cache-reads and L1D-cache-write-misses are not working either in test or otherwise. All the other instructions are working well for me, just not those two. Can you confirm they are working for you? I've been wracking my brains but really not sure what's up.

Boursler commented 3 years ago

I'll approve this if you remove support for L1I-cache-reads and L1D-cache-write-misses. They're not working at the moment but everything else works great.

Sl1mb0 commented 3 years ago

The strangest thing is that L1D-cache-write-misses passes on my machine. L1I-cache-reads fails too though.

Edit:

Do'h!