MCPcopy Create free account

hub / github.com/aws/clock-bound / functions

Functions1,214 in github.com/aws/clock-bound

Functionexhausted_generator_ends_simulation
(constant_skew_oscillator_model: FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:404
Methodexpected_offset_change_at
The total expected change in the offset between `CLOCK_REALTIME` and `CLOCK_MONOTONIC_RAW` after a clock adjustment has begun.
test/clock-bound-adjust-clock-test/src/adjust_clock_test.rs:158
Functionextension_field_methods
()
clock-bound/src/daemon/io/ntp/packet/extension.rs:203
Functionextension_field_roundtrip
()
clock-bound/src/daemon/io/ntp/packet/extension.rs:227
Functionextension_field_wire_format_emit
()
clock-bound/src/daemon/io/ntp/packet/extension.rs:156
Functionextension_field_wire_format_parse
()
clock-bound/src/daemon/io/ntp/packet/extension.rs:179
Methodfeed
(&mut self, event: event::Phc)
clock-bound/src/daemon/clock_sync_algorithm/source/phc.rs:32
Methodfeed
(&mut self, event: event::Ntp)
clock-bound/src/daemon/clock_sync_algorithm/source/link_local.rs:29
Methodfeed
(&mut self, event: event::Ntp)
clock-bound/src/daemon/clock_sync_algorithm/source/ntp_source.rs:50
Functionfeed_after_window_expiry
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:270
Functionfeed_before_window_expiry
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:249
Functionfeed_empty_buffer
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:189
Functionfeed_empty_local
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:224
Functionfeed_first_event
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:234
Functionfeed_happy_path
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:293
Methodfeed_link_local
Feed event into the link local
clock-bound/src/daemon/clock_sync_algorithm.rs:147
Functionfeed_newest_excluded
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:340
Methodfeed_ntp_source
Feed event into ntp source
clock-bound/src/daemon/clock_sync_algorithm.rs:160
Methodfeed_phc
Feed event into the phc
clock-bound/src/daemon/clock_sync_algorithm.rs:175
Functionfeed_serializes_events
()
clock-bound/src/daemon/clock_sync_algorithm.rs:247
Functionfeed_two_events
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:742
Functionfeed_two_events
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:807
Functionfirst_update_sets_current
()
clock-bound/src/daemon/clock_sync_algorithm/selector.rs:268
Functionfit_validation
( #[case] mean: f64, #[case] standard_deviation: f64, #[case] minimum_bin_edge: f64,
clock-bound-ff-tester/src/simulation/stats/normal.rs:151
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
clock-bound/src/shm.rs:271
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
clock-bound/src/daemon/selected_clock.rs:108
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
clock-bound/src/daemon/io/vmclock.rs:171
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
clock-bound/src/daemon/io/ntp/packet.rs:84
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
clock-bound/src/daemon/io/ntp/packet/short.rs:113
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
clock-bound/src/daemon/time/inner.rs:96
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
clock-bound/src/daemon/time/tsc.rs:44
Methodfmt
(&self, f: &mut Formatter<'_>)
clock-bound/src/daemon/event/ntp.rs:308
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
clock-bound-ff-tester/src/simulation/vmclock.rs:52
Functionfraction
(#[case] secs: f64, #[case] expected_inner: u64)
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:173
Functionfraction
(#[case] secs: f64, #[case] expected_inner: u32)
clock-bound/src/daemon/io/ntp/packet/short.rs:148
Functionfrequency_conversions
()
clock-bound/src/daemon/time/tsc.rs:531
Methodfrequency_correction
(mut skew: Skew)
clock-bound/src/daemon/time/timex.rs:241
Functionfrequency_model_interpolation
()
clock-bound-ff-tester/src/simulation/interpolation.rs:381
Functionfrequency_mul_assign
()
clock-bound/src/daemon/time/tsc.rs:669
Functionfrequency_multiplication
()
clock-bound/src/daemon/time/tsc.rs:659
Functionfrequency_parse_from_str_invalid
(#[case] input: &str)
clock-bound/src/daemon/time/tsc.rs:753
Functionfrequency_parse_from_str_valid
(#[case] input: &str, #[case] expected: f64)
clock-bound/src/daemon/time/tsc.rs:741
Functionfrequency_period
()
clock-bound/src/daemon/time/tsc.rs:544
Functionfrequency_validation
(#[case] frequency: f64, #[case] is_ok: bool)
clock-bound/src/daemon/time/tsc.rs:574
Methodfrom
(value: ClockBoundErrorKind)
clock-bound-ffi/src/lib.rs:34
Methodfrom
(value: ClockErrorBoundLayoutVersion)
clock-bound/src/shm.rs:232
Methodfrom
(value: ShmError)
clock-bound/src/client.rs:237
Methodfrom
(source: ClockSource)
clock-bound/src/daemon/selected_clock.rs:142
Methodfrom
(err: tokio::time::error::Elapsed)
clock-bound/src/daemon/io/phc.rs:98
Methodfrom
(value: SamplePacketError)
clock-bound/src/daemon/io/link_local.rs:44
Methodfrom
(value: SamplePacketError)
clock-bound/src/daemon/io/ntp_source.rs:46
Methodfrom
(value: Timestamp)
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:132
Methodfrom
(value: Short)
clock-bound/src/daemon/io/ntp/packet/short.rs:88
Methodfrom
(value: Time<T>)
clock-bound/src/daemon/time/inner.rs:109
Methodfrom
(stratum: Stratum)
clock-bound/src/daemon/event/ntp.rs:286
Methodfrom
(value: Instant)
test/clock-bound-phc-offset/src/phc.rs:57
Methodfrom
(value: clock_bound_client_v2::ClockStatus)
test/clock-bound-client-generic/src/lib.rs:36
Methodfrom
(inner: Series<TrueDuration, TrueDuration>)
clock-bound-ff-tester/src/events/v1/oscillator.rs:110
Methodfrom
(inner: SerdeOscillator)
clock-bound-ff-tester/src/simulation/oscillator.rs:25
Methodfrom_bits
Construct from network bits Returns none is val >= 4
clock-bound/src/daemon/io/ntp/packet/header.rs:33
Functionfrom_clock_bound_duration
()
clock-bound/src/daemon/io/ntp/packet/short.rs:195
Functionfrom_clock_bound_instant
()
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:202
Methodfrom_days
Create a new `Instant` from the number of days since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:232
Methodfrom_duration
Construct from a duration # Panics Panics if `duration < 0`
clock-bound/src/daemon/time/tsc.rs:438
Methodfrom_estimate
(estimate: Self::Estimate)
clock-bound-ff-tester/src/time/estimate_instant.rs:49
Methodfrom_femtos
Create a new `Instant` from the number of femtoseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:217
Methodfrom_frequency
Construct from a [`Frequency`] # Precision loss Given that there is a floating point to integer conversion, precision loss can be seen from either la
clock-bound/src/daemon/time/tsc.rs:453
Methodfrom_ghz
Construct from Ghz # Panics Panics if the input is not positive
clock-bound/src/daemon/time/tsc.rs:131
Methodfrom_hours
Create a new `Instant` from the number of hours since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:227
Methodfrom_hz
Construct from Hz # Panics Panics if the input is not positive
clock-bound/src/daemon/time/tsc.rs:155
Methodfrom_iter
Construct from an iterator of tuples
clock-bound-ff-tester/src/time/series.rs:55
Methodfrom_khz
Construct From Khz # Panics Panics if the input is not positive
clock-bound/src/daemon/time/tsc.rs:147
Methodfrom_mhz
Construct from Mhz # Panics Panics if the input is not positive
clock-bound/src/daemon/time/tsc.rs:139
Methodfrom_micros
Create a new `Instant` from the number of microseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:202
Methodfrom_micros_f64
(micros: f64)
clock-bound/src/daemon/time/inner.rs:503
Methodfrom_millis
Create a new `Instant` from the number of milliseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:197
Methodfrom_millis_f64
(millis: f64)
clock-bound/src/daemon/time/inner.rs:494
Methodfrom_minutes
Create a new `Instant` from the number of minutes since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:222
Methodfrom_nanos
Create a new `Instant` from the number of nanoseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:207
Methodfrom_nanos_f64
(nanos: f64)
clock-bound/src/daemon/time/inner.rs:512
Methodfrom_nanoseconds
(nanos: i128)
clock-bound/src/daemon/time/inner/string_parse.rs:63
Methodfrom_percent
Construct a new skew from percentage
clock-bound/src/daemon/time/tsc.rs:294
Methodfrom_period_and_error
Calculate skew from period and associated error Equivalent to `Skew = error (in seconds) / period (in seconds`
clock-bound/src/daemon/time/tsc.rs:315
Methodfrom_picos
Create a new `Instant` from the number of picoseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:212
Methodfrom_ppb
Construct a new skew from parts per billion (ppb)
clock-bound/src/daemon/time/tsc.rs:276
Methodfrom_ppm
Construct a new skew from parts per million (ppm)
clock-bound/src/daemon/time/tsc.rs:271
Methodfrom_ratio
Calculate skew from 2 clocks equivalent to `1 - (num / den)`
clock-bound/src/daemon/time/tsc.rs:306
Methodfrom_seconds
Construct from seconds # Panics Panics if `seconds` < 0
clock-bound/src/daemon/time/tsc.rs:429
Methodfrom_seconds_f64
(secs: f64)
clock-bound/src/daemon/time/inner.rs:485
Methodfrom_secs
Create a new `Instant` from the number of seconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:192
Methodfrom_secs_f64
Convert from seconds Returns None if out of bounds or negative
clock-bound/src/daemon/io/ntp/packet/short.rs:43
Methodfrom_secs_since_ntp_epoch
Convert from seconds
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:94
Methodfrom_str
(s: &str)
clock-bound/src/daemon/time/tsc.rs:88
Methodfrom_str
(s: &str)
clock-bound/src/daemon/time/inner/string_parse.rs:77
Methodfrom_str
(input: &str)
clock-bound/src/vmclock/shm.rs:170
Methodfrom_str
(s: &str)
clock-bound-ff-tester/src/bin/scenario_generator.rs:52
Methodfrom_str
Function parses a string and if successful returns a `GammaDistribution` struct. Currently this function assumes that the args in the string is order
clock-bound-ff-tester/src/simulation/stats/string_parse.rs:22
Methodfrom_time
Construct from the number of seconds and nanos since the Unix Epoch # Panics Panics if `nanos >= 1_000_000_000`, or value does not fit within the typ
clock-bound/src/daemon/time/inner.rs:240
Methodfrom_timespec
(timespec: TimeSpec)
clock-bound/src/daemon/time/inner.rs:261
Methodfrom_timex_freq
In struct timex, freq, ppsfreq, and stabil are ppm (parts per million) with a 16-bit fractional part, which means that a value of 1 in one of those fi
clock-bound/src/daemon/time/tsc.rs:331
← previousnext →601–700 of 1,214, ranked by callers