MCPcopy Create free account

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

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

Functionfrom_uncorrected_time
()
clock-bound/src/daemon/time/tsc.rs:725
Methodfrom_uncorrected_time
Calculate tick count from an uncorrected clock `Cu(t) = TSC(t) * p + K`, therefore `TSC(t) = (Cu(t) - K) / p` See [`TscCount::uncorrected_time`] fo
clock-bound/src/daemon/time/tsc.rs:77
Methodfrom_utc_system
Convert UTC datetime to ntp timestamp Returns None if out of range
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:86
Functiongenerate
(constant_skew: FullModel, mut generator: Generator)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:314
Functiongenerate
(constant_skew: FullModel, mut generator: Generator)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:297
Functiongenerate
(constant_skew: FullModel, mut generator: Generator)
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:255
Functiongenerate_calls_next_event_ready_if_needed
(constant_skew_oscillator_model: FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:431
Functiongenerate_event
(mut dut_generator: Generator, constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/vmclock.rs:239
Functiongenerate_events_before_inrease_during_increase_after_drop
( constant_skew_oscillator_model: FullModel, mut generator: Generator, )
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:406
Functiongenerate_parameter_series
(generator: Generator)
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:363
Methodgenerate_root_delay_series
Generates a constant root delay series
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:195
Methodgenerate_root_dispersion_series
Generates a root dispersion series that models a period of dispersion growth The series defines the following pattern: 1. Initial constant root dispe
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:160
Methodgenerate_round_trip_delays_series
Generates a constanct round trip delays series
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:209
Functiongenerate_uses_correct_generator_with_mixed_types
( constant_skew_oscillator_model: FullModel, perfect_generator: Box<dyn NtpGenerator>,
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:351
Functiongenerate_with_ceb
(constant_skew: FullModel, mut ceb_generator: Generator)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:326
Functiongenerator
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:267
Functiongenerator
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:271
Functiongenerator
(poll_period: i128)
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:306
Functiongenerator
()
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:238
Functiongenerator
(poll_period: i128)
clock-bound-ff-tester/src/simulation/ntp/series.rs:599
Functiongenerator_builder_defaults
()
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:315
Functiongenerator_initialization
(dut_generator: Generator)
clock-bound-ff-tester/src/simulation/vmclock.rs:225
Functiongenerators_accessor
( perfect_generator: Box<dyn NtpGenerator>, series_generator: Box<dyn NtpGenerator>, d
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:296
Methodget
Get the inner value
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:37
Methodget_from_imds
Request and parse info using the [IMDSv2 API] [IMDSv2 API]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service
clock-bound/src/daemon/io/imds.rs:42
Functionget_network_interfaces_directory_not_found
()
clock-bound/src/daemon/io/phc.rs:1103
Functionget_pci_slot_name_failure
(#[case] file_contents_to_write: &str)
clock-bound/src/daemon/io/phc.rs:964
Functionget_pci_slot_name_file_does_not_exist
()
clock-bound/src/daemon/io/phc.rs:980
Functionget_pci_slot_name_success
( #[case] file_contents_to_write: &str, #[case] return_value: &str, )
clock-bound/src/daemon/io/phc.rs:946
Functionget_phc_clock_error_bound_sysfs_path_not_found
()
clock-bound/src/daemon/io/phc.rs:1216
Functionget_ptp_device_name_from_uevent_file_no_devname
()
clock-bound/src/daemon/io/phc.rs:1198
Functionget_ptp_device_name_from_uevent_file_success
( #[case] file_contents: &str, #[case] expected: &str, )
clock-bound/src/daemon/io/phc.rs:1180
Functionget_ptp_uevent_file_paths_for_pci_slot_directory_not_found
()
clock-bound/src/daemon/io/phc.rs:1162
Methodget_start_offset
Get the starting offset of the `CLOCK_REALTIME` and `CLOCK_MONOTONIC_RAW` for the test, which is needed in order to estimate how much the clock has be
test/clock-bound-adjust-clock-test/src/adjust_clock_test.rs:152
Functionget_uevent_file_path_for_network_interface_success
()
clock-bound/src/daemon/io/phc.rs:1118
Functionget_with_client_stratum_maps_correctly_per_clocksource
( #[case] selected_source: ClockSource, #[case] source_stratum: Stratum, #[case] expec
clock-bound/src/daemon/selected_clock.rs:216
Functionhandle_clock_parameters
()
clock-bound/src/daemon/clock_state.rs:307
Methodhandle_clock_parameters
( &mut self, now: tokio::time::Instant, clock_parameters: &ClockParameters, )
clock-bound/src/daemon/clock_state/clock_adjust.rs:57
Functionhandle_clock_parameters_shm0
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:344
Functionhandle_clock_parameters_shm0_panic_on_overflow_error_bound
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:383
Functionhandle_clock_parameters_shm1
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:408
Functionhandle_disruption
()
clock-bound/src/daemon/clock_state.rs:338
Functionhandle_disruption
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:482
Functionhandle_disruption
()
clock-bound/src/daemon/clock_state/clock_adjust.rs:237
Functionhandle_disruption
()
clock-bound/src/daemon/clock_sync_algorithm/selector.rs:285
Functionhandle_disruption
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:266
Functionhandle_disruption
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:415
Methodhandle_disruption
Handle a clock disruption event
clock-bound/src/daemon.rs:243
Methodhandle_disruption
Handle a clock disruption event Call this function after the system detects a VMClock disruption event. It will go through and clear the state (like
clock-bound/src/daemon/clock_sync_algorithm.rs:200
Methodhandle_disruption
Handle a clock disruption event This struct should loop through all receivers and clear the buffers when possible
clock-bound/src/daemon/receiver_stream.rs:117
Methodhandle_disruption
Handles a clock disruption event
clock-bound/src/daemon/io/phc.rs:597
Methodhandle_disruption
Handles a clock disruption event Currently not bursting, but will clear the sender
clock-bound/src/daemon/io/ntp_source.rs:199
Methodhandle_disruption
Handle a disruption event This clears the internal `ff` and any other state related to the local system's hardware
clock-bound/src/daemon/clock_sync_algorithm/source/phc.rs:39
Methodhandle_disruption
Handle a disruption event. This clears the internal `ff` and any other state related to the local system's hardware
clock-bound/src/daemon/clock_sync_algorithm/source/link_local.rs:36
Methodhandle_disruption
Handle a disruption event. This clears the internal `ff` and any other state related to the local system's hardware
clock-bound/src/daemon/clock_sync_algorithm/source/ntp_source.rs:57
Methodhandle_disruption
Handle a disruption event Clears all event buffers and prior-calculations.
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:228
Methodhandle_disruption
Handle a disruption event Clears all event buffers and prior-calculations.
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:225
Functionhandle_disruption_panics_if_hard_failure_to_adjust_clock
()
clock-bound/src/daemon/clock_state/clock_adjust.rs:256
Functionhandle_disruption_receiver_first
()
clock-bound/src/daemon/async_ring_buffer.rs:423
Functionhandle_disruption_send_after_receive_handles
()
clock-bound/src/daemon/async_ring_buffer.rs:440
Functionhandle_disruption_sender_first
()
clock-bound/src/daemon/async_ring_buffer.rs:406
Functionhandle_event
( #[case] initial_state: State, #[case] final_state: State, #[case] instant: tokio::ti
clock-bound/src/daemon/clock_state/clock_adjust.rs:347
Methodhandle_event
(&mut self, routable_event: RoutableEvent)
clock-bound/src/daemon.rs:218
Methodhandle_interval_tick
(&mut self)
clock-bound/src/daemon/io/phc.rs:575
Methodhandle_interval_tick
(&mut self)
clock-bound/src/daemon/io/link_local.rs:185
Methodhandle_interval_tick
(&mut self)
clock-bound/src/daemon/io/ntp_source.rs:175
Functionhandle_tick_no_parameters
()
clock-bound/src/daemon/clock_state.rs:385
Functionhandle_tick_with_parameters
()
clock-bound/src/daemon/clock_state.rs:417
Functionhead_and_tail
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:238
Functionhours
()
clock-bound/src/daemon/time/inner.rs:887
Methodindices
Return the time series indices
clock-bound-ff-tester/src/events/v1/oscillator.rs:93
Methodindices
Get the indices of the series
clock-bound-ff-tester/src/time/series.rs:40
Methodinit_ntp_source_buffers
Takes in a vector of `source::NTPSource` structs and returns the `async_ring_buffer` senders and receivers for each `ntp_source`'s IO event delivery.
clock-bound/src/daemon.rs:278
Functioninitial_phase_correct_halted_to_initial_snapshot_retrieved
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:553
Functioninitial_phase_correct_halted_to_initial_snapshot_retrieved_panic_on_fail_adjtime
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:567
Functioninitial_snapshot_retrieved_to_clock_adjusted
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:580
Functioninitial_snapshot_retrieved_to_clock_adjusted_panic_on_failed_adjustment
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:626
Functioninitial_snapshot_retrieved_to_clock_adjusted_panic_on_failed_retrieve
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:603
Functioninitialized_to_initial_phase_correct_halted
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:503
Functioninitialized_to_initial_phase_correct_halted_panic_on_phase_correct_halt_failure
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:520
Functioninitialized_to_initial_phase_correct_halted_panic_on_step_clock_failure
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:537
Functioninstant_debug
(#[case] instant: Instant, #[case] expected: &str)
clock-bound/src/daemon/time/inner.rs:1031
Methodinstant_iter
[`Series::iter`] but with [`Time`] values on the X axis
clock-bound-ff-tester/src/time/series.rs:90
Functioninterpolation_basic
(#[case] x: i128, #[case] y: i128)
clock-bound-ff-tester/src/simulation/interpolation.rs:311
Methodinto_network_endian
Convert to network endian representation
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:105
Functioninvalid_args_constructor
()
clock-bound-ff-tester/src/simulation/stats/normal.rs:119
Functioninvalid_args_constructor
( #[case] shape: f64, #[case] rate: f64, #[case] expected_error: GammaError, )
clock-bound-ff-tester/src/simulation/stats/gamma.rs:105
Functioninvalid_try_from_u8
()
clock-bound/src/daemon/event/ntp.rs:443
Methodis_closed
(&self)
clock-bound/src/daemon/async_ring_buffer.rs:113
Methodis_empty
(&self)
clock-bound/src/daemon/async_ring_buffer.rs:107
Methodis_empty
returns true if the buffer is empty
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:88
Functionis_ena_network_interface_no_driver
()
clock-bound/src/daemon/io/phc.rs:1145
Functionis_ena_network_interface_success
(#[case] file_contents: &str, #[case] expected: bool)
clock-bound/src/daemon/io/phc.rs:1132
Methodis_initialized
(&self)
clock-bound/src/daemon/io.rs:433
Methodis_running
(&self)
clock-bound/src/daemon/io.rs:437
Methodis_usable_segment
Check whether the memory segment already exist and is usable. The segment is usable if it can be opened at `path` and it can be read by a `ShmReader`
clock-bound/src/shm/writer.rs:137
Methodis_usable_segment
Check whether the memory segment already exist and is usable. The segment is usable if it can be opened at `path` and it can be read by a `VMClockShm
clock-bound/src/vmclock/shm_writer.rs:130
Functioniter
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:268
Functioniter_ordering
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:392
Methodlast_tsc_post
get the `last_tsc_post` None if no data was ever in the paired `Local` on feed
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:78
← previousnext →701–800 of 1,214, ranked by callers