MCPcopy Create free account

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

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

↓ 1 callersMethodto_oscillator
destructure into the `ff-tester::events` oscillator for serialization
clock-bound-ff-tester/src/simulation/oscillator.rs:490
↓ 1 callersMethodto_ppb
To PPB Returns none if the value is larger than 1 billion part per billion
clock-bound/src/daemon/time/tsc.rs:283
↓ 1 callersMethodtotal_size
Calculate total packet size including extensions
clock-bound/src/daemon/io/ntp/packet.rs:197
↓ 1 callersMethodtrue_instants
[`TrueInstant`] values
clock-bound-ff-tester/src/simulation/oscillator.rs:535
↓ 1 callersFunctiontsc_timestamp_client_start
()
clock-bound-ff-tester/src/simulation/ntp/series.rs:565
↓ 1 callersFunctionupdate_selected_clock
( #[case] source_info: SourceInfo, #[case] expected_clock_source: ClockSource, #[case]
clock-bound/src/daemon/clock_sync_algorithm.rs:291
↓ 1 callersMethodwindow
(&self)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:80
Functionabove_max_errors
()
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:156
Functionabove_max_saturates
()
clock-bound/src/daemon/io/ntp/packet/short.rs:131
Functionabs_duration
()
clock-bound/src/daemon/time/inner.rs:829
Methodadd_assign
(&mut self, rhs: Diff<T>)
clock-bound/src/daemon/time/inner.rs:167
Functionadd_assign_durations
()
clock-bound/src/daemon/time/inner.rs:776
Functionadd_assign_raw_duration_to_timestamp
()
clock-bound/src/daemon/time/inner.rs:744
Functionadd_generator_builder_method
( perfect_generator: Box<dyn NtpGenerator>, series_generator: Box<dyn NtpGenerator>, )
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:469
Functionadd_ntp_source
()
clock-bound/src/daemon/receiver_stream.rs:269
Functionadd_raw_duration
()
clock-bound/src/daemon/time/inner.rs:728
Functionadd_raw_duration_to_timestamp
()
clock-bound/src/daemon/time/inner.rs:736
Functionadjust_clock_bad_state
()
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:268
Functionadjust_clock_failure
()
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:249
Functionadjust_clock_happy_paths
( #[case] input_phase_correction: Duration, #[case] input_skew: Skew, )
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:230
Functionadjust_clock_unexpected_value
()
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:287
Functionalg_is_perfect_under_perfect_conditions
()
clock-bound-ff-tester/src/sim_ll.rs:141
Functionalg_is_perfect_under_perfect_conditions
()
clock-bound-ff-tester/src/sim_phc.rs:143
Methodapply_frequency_correction
Applies a frequency correction to `CLOCK_REALTIME`. # Errors `NtpAdjTimeError::Failure` if `ntp_adjtime` returns -1, meaning the system call failed,
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:150
Methodas_days
Returns the total number of days, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:318
Methodas_hours
Returns the total number of hours, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:312
Methodas_micros
Returns the total number of microseconds, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:281
Methodas_millis
Returns the total number of milliseconds, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:286
Methodas_minutes
Returns the total number of minutes, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:306
Methodas_picos
Returns the total number of picoseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:271
Methodas_seconds
Returns the total number of seconds, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:291
Methodassert_within_error_bound
(self, expected: DateTime<Utc>)
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:118
Methodautoconfigure_phc_readers
()
clock-bound/src/daemon/io/phc.rs:224
Functionbasic_send_receive
()
clock-bound/src/daemon/async_ring_buffer.rs:305
Functionbuffer_capacity
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:249
Functionbuffer_overflow
()
clock-bound/src/daemon/async_ring_buffer.rs:315
Functionbuffer_overflow
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:216
Methodbuild_response_from_clock_bound_client_read
( clock_read: Result<TimeAndBoundAndStatus, ClockBoundClientError>, )
test/clock-bound-phc-offset/src/phc.rs:127
Methodbuild_response_from_phc_read
( phc_time: Result<Instant, Errno>, phc_ceb: Result<Duration, CebReadError>, )
test/clock-bound-phc-offset/src/phc.rs:114
Functionbuilder_with_multiple_generator_types
( perfect_generator: Box<dyn NtpGenerator>, series_generator: Box<dyn NtpGenerator>, d
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:281
Functionbuilder_with_no_generators
(constant_skew_oscillator_model: FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:269
Methodburst
Constructs the [`Mode::Burst`] enum variant coupling the start time generation.
clock-bound/src/daemon/io/link_local.rs:278
Functioncalc_raw_difference
()
clock-bound/src/daemon/time/inner.rs:720
Functioncalculate_clock_error_bound
( #[case] event: Phc, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/phc.rs:253
Functioncalculate_clock_error_bound
( #[case] event: Ntp, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/ntp.rs:514
Functioncalculate_clock_error_bound_edge_cases
( #[case] event: Phc, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/phc.rs:342
Functioncalculate_clock_error_bound_edge_cases
( #[case] event: Ntp, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/ntp.rs:597
Methodcalculate_frac_shift
(period: f64)
clock-bound/src/shm.rs:827
Methodcalculate_from_oscillator
Create a new [`FullModel`] from an [`Oscillator`]
clock-bound-ff-tester/src/simulation/oscillator.rs:464
Functioncalculate_local_period
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:504
Functioncalculate_local_period
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:503
Methodcalculate_local_period_and_error
Calculate the local period and associated error Returns `None` if `local` has less than 2 data points
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:339
Methodcalculate_local_period_and_error
Calculate the local period and associated error Returns `None` if `local` has less than 2 data points
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:334
Functioncalculate_local_period_returns_none
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:478
Functioncalculate_local_period_returns_none
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:474
Functioncalculate_ntp_event_timestamps_perfect
(perfect_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:207
Functioncalculate_ntp_event_timestamps_positive_skew
(positive_skew_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:242
Functioncalculate_offset
( #[case] phc_event: Phc, #[case] uncorrected_clock: UncorrectedClock, #[case] expecte
clock-bound/src/daemon/event/phc.rs:412
Functioncalculate_offset
( #[case] ntp_event: Ntp, #[case] uncorrected_clock: UncorrectedClock, #[case] expecte
clock-bound/src/daemon/event/ntp.rs:676
Functioncalculate_phc_event_timestamps_perfect
(perfect_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:139
Functioncalculate_phc_event_timestamps_positive_skew
(positive_skew_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:208
Functioncalculate_phc_event_timestamps_with_ceb
(perfect_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:171
Methodcalculate_theta
( local: &event_buffer::Local<event::Phc>, period_local: Period, uncorrected_clock: Un
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:392
Methodcalculate_theta
( local: &event_buffer::Local<event::Ntp>, period_local: Period, uncorrected_clock: Un
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:387
Functioncalculate_true_to_tsc_and_back_again
(#[case] oscillator: Oscillator)
clock-bound-ff-tester/src/simulation/oscillator.rs:715
Methodcalculate_uncorrected_clock
Calculate the estimate period and k value based off of the ring buffers Returns `None` if we do not have enough data points to calculate a period. W
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:264
Methodcalculate_uncorrected_clock
Calculate the estimate period and k value based off of the ring buffers Returns `None` if we do not have enough data points to calculate a period. W
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:259
Functioncalculate_uncorrected_estimate_has_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:592
Functioncalculate_uncorrected_estimate_has_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:612
Functioncalculate_uncorrected_local_has_single_value
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:535
Functioncalculate_uncorrected_local_has_single_value
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:542
Functioncalculate_uncorrected_local_has_two_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:556
Functioncalculate_uncorrected_local_has_two_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:566
Functioncancel_safety
()
clock-bound/src/daemon/async_ring_buffer.rs:386
Methodcapacity
Returns the capacity of the buffer
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:62
Functioncb_bridge_duration
()
clock-bound-ff-tester/src/time/estimate_instant.rs:80
Functioncb_bridge_instant
()
clock-bound-ff-tester/src/time/estimate_instant.rs:71
Functionceb_generator
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:287
Functioncheck_mean_standard_deviation_sampling
( #[case] mean: f64, #[case] standard_deviation: f64, )
clock-bound-ff-tester/src/simulation/stats/normal.rs:86
Functioncheck_mean_standard_deviation_sampling
( #[case] shape: f64, #[case] rate: f64, #[case] loc: f64, )
clock-bound-ff-tester/src/simulation/stats/gamma.rs:67
Functionclear
()
clock-bound/src/daemon/io/ntp/socket_ext.rs:37
Functionclear
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:254
Functioncli_parsing
()
clock-bound-ff-tester/src/bin/scenario_generator.rs:503
Functioncli_required_arguments
()
clock-bound-ff-tester/src/bin/scenario_generator.rs:570
Functionclock_adjusted_to_phase_correct_halted
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:648
Functionclock_adjusted_to_phase_correct_halted_panic_on_failed_phase_correct_halt
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:662
Methodclock_adjustment
(mut phase_correction: Duration, mut skew: Skew)
clock-bound/src/daemon/time/timex.rs:85
Functionclock_get_offset_and_rtt
()
clock-bound/src/daemon/time/inner.rs:1036
Functionclock_gettime_safe_monotonic
()
clock-bound/src/shm/common.rs:45
Functionclock_gettime_safe_realtime
()
clock-bound/src/shm/common.rs:34
Methodclock_parameters
Get the current best clock parameters
clock-bound/src/daemon/clock_sync_algorithm.rs:104
Methodclock_parameters
Get the current [`ClockParameters`]
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:190
Methodclock_parameters
Get the current [`ClockParameters`]
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:192
Functionclock_source_display
(#[case] source: ClockSource, #[case] expected: &str)
clock-bound/src/daemon/selected_clock.rs:288
Functionclock_source_to_bytes
(#[case] source: ClockSource, #[case] expected: [u8; 4])
clock-bound/src/daemon/selected_clock.rs:309
Functionclock_source_to_u32
(#[case] source: ClockSource, #[case] expected: u32)
clock-bound/src/daemon/selected_clock.rs:298
Methodclock_step
(phase_correction: Duration)
clock-bound/src/daemon/time/timex.rs:317
Functioncompare_clock_error_bound
( #[case] first: ClockParameters, #[case] second: event::Ntp, #[case] period: Period,
clock-bound/src/daemon/clock_parameters.rs:218
Functioncompare_clock_error_bound_with_aging
( #[case] first: ClockParameters, #[case] second: event::Ntp, #[case] period: Period,
clock-bound/src/daemon/clock_parameters.rs:268
Functioncompute_bound_bad_drift
()
clock-bound/src/shm.rs:986
← previousnext →401–500 of 1,214, ranked by callers