ext/pf2/src/signal_scheduler/configuration.rs in pf2-0.2.0 vs ext/pf2/src/signal_scheduler/configuration.rs in pf2-0.3.0
- old
+ new
@@ -1,9 +1,16 @@
+use std::collections::HashSet;
use std::str::FromStr;
+use std::time::Duration;
+use rb_sys::VALUE;
+
#[derive(Clone, Debug)]
pub struct Configuration {
+ pub interval: Duration,
pub time_mode: TimeMode,
+ pub target_ruby_threads: HashSet<VALUE>,
+ pub track_new_threads: bool,
}
#[derive(Clone, Debug)]
pub enum TimeMode {
CpuTime,