Skip to content

Commit

Permalink
Add AMD Zen 2 Matisse support (#28)
Browse files Browse the repository at this point in the history
Summary:
Checked the AMD PPR and confirmed the event encoding

<img width="1182" alt="image" src="https://github.com/facebookexperimental/reverie/assets/2891235/364b15f9-3af9-47a8-a0ac-c2d4cf6981d9">

Pull Request resolved: #28

Reviewed By: asm89

Differential Revision: D53796098

Pulled By: jasonwhite

fbshipit-source-id: 9d7e8f29c5b7307819735034decfd2deba60ca3a
  • Loading branch information
caizixian authored and facebook-github-bot committed Feb 15, 2024
1 parent 9f52ff6 commit d3e069f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reverie-ptrace/src/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ pub(crate) fn get_rcb_perf_config() -> u64 {
(0x06, 0x86) => 0x5101c4, // Intel Icelake
(0x17, 0x8) => 0x5100d1, // AMD Zen, Pinnacle Ridge
(0x17, 0x31) => 0x5100d1, // AMD Zen, Castle Peak
(0x17, 0x71) => 0x5100d1, // AMD Zen 2, Matisse
(0x19, 0x01) => 0x5100d1, // AMD Zen, Milan
(0x19, 0x50) => 0x5100d1, // AMD Zen, Cezanne
oth => panic!(
Expand Down

0 comments on commit d3e069f

Please sign in to comment.