Skip to content

Commit 1c8c294

Browse files
authored
Merge pull request #143 from eddyb/rdpmc
Hardware performance counter support (via `rdpmc`).
2 parents 2c45b10 + 1425ee3 commit 1c8c294

File tree

5 files changed

+1055
-46
lines changed

5 files changed

+1055
-46
lines changed

measureme/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ repository = "https://github.com/rust-lang/measureme"
1313
travis-ci = { repository = "rust-lang/measureme" }
1414

1515
[dependencies]
16+
log = "0.4"
1617
parking_lot = "0.11.0"
1718
rustc-hash = "1.0.1"
1819
smallvec = "1.0"
20+
21+
[features]
22+
nightly = []
23+
24+
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dependencies]
25+
memmap = "0.7"
26+
perf-event-open-sys = "1.0.1"

0 commit comments

Comments
 (0)