]> git.lizzy.rs Git - rust.git/commit
Wrap the self-profiler in an `Arc<Mutex<>>`
authorWesley Wiser <wwiser@gmail.com>
Sun, 10 Feb 2019 22:23:00 +0000 (17:23 -0500)
committerWesley Wiser <wwiser@gmail.com>
Sun, 3 Mar 2019 15:07:29 +0000 (10:07 -0500)
commit25b8c614f020c7298eb70198b781d591d81bed7d
treefc7b4bc6992fb0efe225dc94a5f5a70726110aa1
parentc0086b9e8972fef9fd4af24bae20d45021ed06c6
Wrap the self-profiler in an `Arc<Mutex<>>`

This will allow us to send it across threads and measure things like
LLVM time.
Cargo.lock
src/librustc/session/mod.rs
src/librustc_codegen_ssa/Cargo.toml
src/librustc_codegen_ssa/back/write.rs
src/librustc_codegen_ssa/lib.rs
src/librustc_driver/driver.rs
src/librustc_driver/lib.rs