Create a new PHC reference clock source
(device_path: String, max_dispersion: Skew)
| 21 | impl Phc { |
| 22 | const POLL_INTERVAL: Duration = Duration::from_millis(500); |
| 23 | |
| 24 | /// Create a new PHC reference clock source |
| 25 | pub fn new(device_path: DevicePath, max_dispersion: Skew) -> Self { |
| 26 | Self { |
| 27 | device_path, |
| 28 | inner: ff::Phc::new(Self::POLL_INTERVAL, max_dispersion), |
| 29 | } |
| 30 | } |
| 31 |