mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Support multiprocess in sampling profiler.
This commit is contained in:
parent
90f67c11e5
commit
8b7244f0d1
9 changed files with 165 additions and 117 deletions
|
@ -490,3 +490,10 @@ pub trait BackgroundHangMonitor {
|
|||
/// Unregister the component from monitor.
|
||||
fn unregister(&self);
|
||||
}
|
||||
|
||||
/// Messages to control the sampling profiler.
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum SamplerControlMsg {
|
||||
Enable(Duration),
|
||||
Disable,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue