Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/clock-bound
/ functions
Functions
1,214 in github.com/aws/clock-bound
⨍
Functions
1,214
◇
Types & classes
277
Function
from_uncorrected_time
()
clock-bound/src/daemon/time/tsc.rs:725
Method
from_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
Method
from_utc_system
Convert UTC datetime to ntp timestamp Returns None if out of range
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:86
Function
generate
(constant_skew: FullModel, mut generator: Generator)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:314
Function
generate
(constant_skew: FullModel, mut generator: Generator)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:297
Function
generate
(constant_skew: FullModel, mut generator: Generator)
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:255
Function
generate_calls_next_event_ready_if_needed
(constant_skew_oscillator_model: FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:431
Function
generate_event
(mut dut_generator: Generator, constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/vmclock.rs:239
Function
generate_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
Function
generate_parameter_series
(generator: Generator)
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:363
Method
generate_root_delay_series
Generates a constant root delay series
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:195
Method
generate_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
Method
generate_round_trip_delays_series
Generates a constanct round trip delays series
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:209
Function
generate_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
Function
generate_with_ceb
(constant_skew: FullModel, mut ceb_generator: Generator)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:326
Function
generator
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:267
Function
generator
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:271
Function
generator
(poll_period: i128)
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:306
Function
generator
()
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:238
Function
generator
(poll_period: i128)
clock-bound-ff-tester/src/simulation/ntp/series.rs:599
Function
generator_builder_defaults
()
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:315
Function
generator_initialization
(dut_generator: Generator)
clock-bound-ff-tester/src/simulation/vmclock.rs:225
Function
generators_accessor
( perfect_generator: Box<dyn NtpGenerator>, series_generator: Box<dyn NtpGenerator>, d
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:296
Method
get
Get the inner value
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:37
Method
get_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
Function
get_network_interfaces_directory_not_found
()
clock-bound/src/daemon/io/phc.rs:1103
Function
get_pci_slot_name_failure
(#[case] file_contents_to_write: &str)
clock-bound/src/daemon/io/phc.rs:964
Function
get_pci_slot_name_file_does_not_exist
()
clock-bound/src/daemon/io/phc.rs:980
Function
get_pci_slot_name_success
( #[case] file_contents_to_write: &str, #[case] return_value: &str, )
clock-bound/src/daemon/io/phc.rs:946
Function
get_phc_clock_error_bound_sysfs_path_not_found
()
clock-bound/src/daemon/io/phc.rs:1216
Function
get_ptp_device_name_from_uevent_file_no_devname
()
clock-bound/src/daemon/io/phc.rs:1198
Function
get_ptp_device_name_from_uevent_file_success
( #[case] file_contents: &str, #[case] expected: &str, )
clock-bound/src/daemon/io/phc.rs:1180
Function
get_ptp_uevent_file_paths_for_pci_slot_directory_not_found
()
clock-bound/src/daemon/io/phc.rs:1162
Method
get_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
Function
get_uevent_file_path_for_network_interface_success
()
clock-bound/src/daemon/io/phc.rs:1118
Function
get_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
Function
handle_clock_parameters
()
clock-bound/src/daemon/clock_state.rs:307
Method
handle_clock_parameters
( &mut self, now: tokio::time::Instant, clock_parameters: &ClockParameters, )
clock-bound/src/daemon/clock_state/clock_adjust.rs:57
Function
handle_clock_parameters_shm0
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:344
Function
handle_clock_parameters_shm0_panic_on_overflow_error_bound
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:383
Function
handle_clock_parameters_shm1
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:408
Function
handle_disruption
()
clock-bound/src/daemon/clock_state.rs:338
Function
handle_disruption
()
clock-bound/src/daemon/clock_state/clock_state_writer.rs:482
Function
handle_disruption
()
clock-bound/src/daemon/clock_state/clock_adjust.rs:237
Function
handle_disruption
()
clock-bound/src/daemon/clock_sync_algorithm/selector.rs:285
Function
handle_disruption
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:266
Function
handle_disruption
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:415
Method
handle_disruption
Handle a clock disruption event
clock-bound/src/daemon.rs:243
Method
handle_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
Method
handle_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
Method
handle_disruption
Handles a clock disruption event
clock-bound/src/daemon/io/phc.rs:597
Method
handle_disruption
Handles a clock disruption event Currently not bursting, but will clear the sender
clock-bound/src/daemon/io/ntp_source.rs:199
Method
handle_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
Method
handle_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
Method
handle_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
Method
handle_disruption
Handle a disruption event Clears all event buffers and prior-calculations.
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:228
Method
handle_disruption
Handle a disruption event Clears all event buffers and prior-calculations.
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:225
Function
handle_disruption_panics_if_hard_failure_to_adjust_clock
()
clock-bound/src/daemon/clock_state/clock_adjust.rs:256
Function
handle_disruption_receiver_first
()
clock-bound/src/daemon/async_ring_buffer.rs:423
Function
handle_disruption_send_after_receive_handles
()
clock-bound/src/daemon/async_ring_buffer.rs:440
Function
handle_disruption_sender_first
()
clock-bound/src/daemon/async_ring_buffer.rs:406
Function
handle_event
( #[case] initial_state: State, #[case] final_state: State, #[case] instant: tokio::ti
clock-bound/src/daemon/clock_state/clock_adjust.rs:347
Method
handle_event
(&mut self, routable_event: RoutableEvent)
clock-bound/src/daemon.rs:218
Method
handle_interval_tick
(&mut self)
clock-bound/src/daemon/io/phc.rs:575
Method
handle_interval_tick
(&mut self)
clock-bound/src/daemon/io/link_local.rs:185
Method
handle_interval_tick
(&mut self)
clock-bound/src/daemon/io/ntp_source.rs:175
Function
handle_tick_no_parameters
()
clock-bound/src/daemon/clock_state.rs:385
Function
handle_tick_with_parameters
()
clock-bound/src/daemon/clock_state.rs:417
Function
head_and_tail
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:238
Function
hours
()
clock-bound/src/daemon/time/inner.rs:887
Method
indices
Return the time series indices
clock-bound-ff-tester/src/events/v1/oscillator.rs:93
Method
indices
Get the indices of the series
clock-bound-ff-tester/src/time/series.rs:40
Method
init_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
Function
initial_phase_correct_halted_to_initial_snapshot_retrieved
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:553
Function
initial_phase_correct_halted_to_initial_snapshot_retrieved_panic_on_fail_adjtime
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:567
Function
initial_snapshot_retrieved_to_clock_adjusted
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:580
Function
initial_snapshot_retrieved_to_clock_adjusted_panic_on_failed_adjustment
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:626
Function
initial_snapshot_retrieved_to_clock_adjusted_panic_on_failed_retrieve
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:603
Function
initialized_to_initial_phase_correct_halted
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:503
Function
initialized_to_initial_phase_correct_halted_panic_on_phase_correct_halt_failure
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:520
Function
initialized_to_initial_phase_correct_halted_panic_on_step_clock_failure
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:537
Function
instant_debug
(#[case] instant: Instant, #[case] expected: &str)
clock-bound/src/daemon/time/inner.rs:1031
Method
instant_iter
[`Series::iter`] but with [`Time`] values on the X axis
clock-bound-ff-tester/src/time/series.rs:90
Function
interpolation_basic
(#[case] x: i128, #[case] y: i128)
clock-bound-ff-tester/src/simulation/interpolation.rs:311
Method
into_network_endian
Convert to network endian representation
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:105
Function
invalid_args_constructor
()
clock-bound-ff-tester/src/simulation/stats/normal.rs:119
Function
invalid_args_constructor
( #[case] shape: f64, #[case] rate: f64, #[case] expected_error: GammaError, )
clock-bound-ff-tester/src/simulation/stats/gamma.rs:105
Function
invalid_try_from_u8
()
clock-bound/src/daemon/event/ntp.rs:443
Method
is_closed
(&self)
clock-bound/src/daemon/async_ring_buffer.rs:113
Method
is_empty
(&self)
clock-bound/src/daemon/async_ring_buffer.rs:107
Method
is_empty
returns true if the buffer is empty
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:88
Function
is_ena_network_interface_no_driver
()
clock-bound/src/daemon/io/phc.rs:1145
Function
is_ena_network_interface_success
(#[case] file_contents: &str, #[case] expected: bool)
clock-bound/src/daemon/io/phc.rs:1132
Method
is_initialized
(&self)
clock-bound/src/daemon/io.rs:433
Method
is_running
(&self)
clock-bound/src/daemon/io.rs:437
Method
is_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
Method
is_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
Function
iter
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:268
Function
iter_ordering
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:392
Method
last_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
← previous
next →
701–800 of 1,214, ranked by callers