mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
parent
439e3150d7
commit
ccc55d658f
7 changed files with 19 additions and 17 deletions
|
@ -118,7 +118,7 @@ impl Profiler {
|
|||
// Register the system memory reporter, which will run on the memory profiler's own thread.
|
||||
// It never needs to be unregistered, because as long as the memory profiler is running the
|
||||
// system memory reporter can make measurements.
|
||||
let system_reporter = Box::new(SystemReporter);
|
||||
let system_reporter = box SystemReporter;
|
||||
mem_profiler_chan.send(ProfilerMsg::RegisterReporter("system".to_owned(), system_reporter));
|
||||
|
||||
mem_profiler_chan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue