about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-27 21:56:20 +0100
committerGitHub <noreply@github.com>2021-02-27 21:56:20 +0100
commit6d288c65dfb2ca45fa88ee4885d905c5c35f3554 (patch)
tree955aecdea0baf124132a7a1d5afddc7f23ed7778 /src
parenta7f9aca0a61e16f7eeeea206fbaf0e655bd9de89 (diff)
parente130e9cf7787ef83f9cada14b7a2579b09c6a558 (diff)
downloadrust-6d288c65dfb2ca45fa88ee4885d905c5c35f3554.tar.gz
rust-6d288c65dfb2ca45fa88ee4885d905c5c35f3554.zip
Rollup merge of #82537 - wesleywiser:update_measureme, r=oli-obk
Update measureme dependency to the latest version

This version adds the ability to use `rdpmc` hardware-based performance
counters instead of wall-clock time for measuring duration. This also
introduces a dependency on the `perf-event-open-sys` crate on Linux
which is used when using hardware counters.

r? ```@oli-obk```
Diffstat (limited to 'src')
-rw-r--r--src/tools/tidy/src/deps.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs
index f8e0bcc357d..651b478e794 100644
--- a/src/tools/tidy/src/deps.rs
+++ b/src/tools/tidy/src/deps.rs
@@ -132,6 +132,7 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
     "parking_lot",
     "parking_lot_core",
     "pathdiff",
+    "perf-event-open-sys",
     "pkg-config",
     "polonius-engine",
     "ppv-lite86",