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
↓ 1 callers
Method
to_oscillator
destructure into the `ff-tester::events` oscillator for serialization
clock-bound-ff-tester/src/simulation/oscillator.rs:490
↓ 1 callers
Method
to_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 callers
Method
total_size
Calculate total packet size including extensions
clock-bound/src/daemon/io/ntp/packet.rs:197
↓ 1 callers
Method
true_instants
[`TrueInstant`] values
clock-bound-ff-tester/src/simulation/oscillator.rs:535
↓ 1 callers
Function
tsc_timestamp_client_start
()
clock-bound-ff-tester/src/simulation/ntp/series.rs:565
↓ 1 callers
Function
update_selected_clock
( #[case] source_info: SourceInfo, #[case] expected_clock_source: ClockSource, #[case]
clock-bound/src/daemon/clock_sync_algorithm.rs:291
↓ 1 callers
Method
window
(&self)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:80
Function
above_max_errors
()
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:156
Function
above_max_saturates
()
clock-bound/src/daemon/io/ntp/packet/short.rs:131
Function
abs_duration
()
clock-bound/src/daemon/time/inner.rs:829
Method
add_assign
(&mut self, rhs: Diff<T>)
clock-bound/src/daemon/time/inner.rs:167
Function
add_assign_durations
()
clock-bound/src/daemon/time/inner.rs:776
Function
add_assign_raw_duration_to_timestamp
()
clock-bound/src/daemon/time/inner.rs:744
Function
add_generator_builder_method
( perfect_generator: Box<dyn NtpGenerator>, series_generator: Box<dyn NtpGenerator>, )
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:469
Function
add_ntp_source
()
clock-bound/src/daemon/receiver_stream.rs:269
Function
add_raw_duration
()
clock-bound/src/daemon/time/inner.rs:728
Function
add_raw_duration_to_timestamp
()
clock-bound/src/daemon/time/inner.rs:736
Function
adjust_clock_bad_state
()
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:268
Function
adjust_clock_failure
()
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:249
Function
adjust_clock_happy_paths
( #[case] input_phase_correction: Duration, #[case] input_skew: Skew, )
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:230
Function
adjust_clock_unexpected_value
()
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:287
Function
alg_is_perfect_under_perfect_conditions
()
clock-bound-ff-tester/src/sim_ll.rs:141
Function
alg_is_perfect_under_perfect_conditions
()
clock-bound-ff-tester/src/sim_phc.rs:143
Method
apply_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
Method
as_days
Returns the total number of days, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:318
Method
as_hours
Returns the total number of hours, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:312
Method
as_micros
Returns the total number of microseconds, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:281
Method
as_millis
Returns the total number of milliseconds, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:286
Method
as_minutes
Returns the total number of minutes, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:306
Method
as_picos
Returns the total number of picoseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:271
Method
as_seconds
Returns the total number of seconds, rounded, since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:291
Method
assert_within_error_bound
(self, expected: DateTime<Utc>)
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:118
Method
autoconfigure_phc_readers
()
clock-bound/src/daemon/io/phc.rs:224
Function
basic_send_receive
()
clock-bound/src/daemon/async_ring_buffer.rs:305
Function
buffer_capacity
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:249
Function
buffer_overflow
()
clock-bound/src/daemon/async_ring_buffer.rs:315
Function
buffer_overflow
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:216
Method
build_response_from_clock_bound_client_read
( clock_read: Result<TimeAndBoundAndStatus, ClockBoundClientError>, )
test/clock-bound-phc-offset/src/phc.rs:127
Method
build_response_from_phc_read
( phc_time: Result<Instant, Errno>, phc_ceb: Result<Duration, CebReadError>, )
test/clock-bound-phc-offset/src/phc.rs:114
Function
builder_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
Function
builder_with_no_generators
(constant_skew_oscillator_model: FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:269
Method
burst
Constructs the [`Mode::Burst`] enum variant coupling the start time generation.
clock-bound/src/daemon/io/link_local.rs:278
Function
calc_raw_difference
()
clock-bound/src/daemon/time/inner.rs:720
Function
calculate_clock_error_bound
( #[case] event: Phc, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/phc.rs:253
Function
calculate_clock_error_bound
( #[case] event: Ntp, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/ntp.rs:514
Function
calculate_clock_error_bound_edge_cases
( #[case] event: Phc, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/phc.rs:342
Function
calculate_clock_error_bound_edge_cases
( #[case] event: Ntp, #[case] period: Period, #[case] expected: Duration, )
clock-bound/src/daemon/event/ntp.rs:597
Method
calculate_frac_shift
(period: f64)
clock-bound/src/shm.rs:827
Method
calculate_from_oscillator
Create a new [`FullModel`] from an [`Oscillator`]
clock-bound-ff-tester/src/simulation/oscillator.rs:464
Function
calculate_local_period
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:504
Function
calculate_local_period
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:503
Method
calculate_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
Method
calculate_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
Function
calculate_local_period_returns_none
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:478
Function
calculate_local_period_returns_none
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:474
Function
calculate_ntp_event_timestamps_perfect
(perfect_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:207
Function
calculate_ntp_event_timestamps_positive_skew
(positive_skew_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:242
Function
calculate_offset
( #[case] phc_event: Phc, #[case] uncorrected_clock: UncorrectedClock, #[case] expecte
clock-bound/src/daemon/event/phc.rs:412
Function
calculate_offset
( #[case] ntp_event: Ntp, #[case] uncorrected_clock: UncorrectedClock, #[case] expecte
clock-bound/src/daemon/event/ntp.rs:676
Function
calculate_phc_event_timestamps_perfect
(perfect_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:139
Function
calculate_phc_event_timestamps_positive_skew
(positive_skew_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:208
Function
calculate_phc_event_timestamps_with_ceb
(perfect_oscillator: FullModel)
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:171
Method
calculate_theta
( local: &event_buffer::Local<event::Phc>, period_local: Period, uncorrected_clock: Un
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:392
Method
calculate_theta
( local: &event_buffer::Local<event::Ntp>, period_local: Period, uncorrected_clock: Un
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:387
Function
calculate_true_to_tsc_and_back_again
(#[case] oscillator: Oscillator)
clock-bound-ff-tester/src/simulation/oscillator.rs:715
Method
calculate_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
Method
calculate_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
Function
calculate_uncorrected_estimate_has_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:592
Function
calculate_uncorrected_estimate_has_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:612
Function
calculate_uncorrected_local_has_single_value
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:535
Function
calculate_uncorrected_local_has_single_value
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:542
Function
calculate_uncorrected_local_has_two_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:556
Function
calculate_uncorrected_local_has_two_values
()
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:566
Function
cancel_safety
()
clock-bound/src/daemon/async_ring_buffer.rs:386
Method
capacity
Returns the capacity of the buffer
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:62
Function
cb_bridge_duration
()
clock-bound-ff-tester/src/time/estimate_instant.rs:80
Function
cb_bridge_instant
()
clock-bound-ff-tester/src/time/estimate_instant.rs:71
Function
ceb_generator
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:287
Function
check_mean_standard_deviation_sampling
( #[case] mean: f64, #[case] standard_deviation: f64, )
clock-bound-ff-tester/src/simulation/stats/normal.rs:86
Function
check_mean_standard_deviation_sampling
( #[case] shape: f64, #[case] rate: f64, #[case] loc: f64, )
clock-bound-ff-tester/src/simulation/stats/gamma.rs:67
Function
clear
()
clock-bound/src/daemon/io/ntp/socket_ext.rs:37
Function
clear
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:254
Function
cli_parsing
()
clock-bound-ff-tester/src/bin/scenario_generator.rs:503
Function
cli_required_arguments
()
clock-bound-ff-tester/src/bin/scenario_generator.rs:570
Function
clock_adjusted_to_phase_correct_halted
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:648
Function
clock_adjusted_to_phase_correct_halted_panic_on_failed_phase_correct_halt
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:662
Method
clock_adjustment
(mut phase_correction: Duration, mut skew: Skew)
clock-bound/src/daemon/time/timex.rs:85
Function
clock_get_offset_and_rtt
()
clock-bound/src/daemon/time/inner.rs:1036
Function
clock_gettime_safe_monotonic
()
clock-bound/src/shm/common.rs:45
Function
clock_gettime_safe_realtime
()
clock-bound/src/shm/common.rs:34
Method
clock_parameters
Get the current best clock parameters
clock-bound/src/daemon/clock_sync_algorithm.rs:104
Method
clock_parameters
Get the current [`ClockParameters`]
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:190
Method
clock_parameters
Get the current [`ClockParameters`]
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:192
Function
clock_source_display
(#[case] source: ClockSource, #[case] expected: &str)
clock-bound/src/daemon/selected_clock.rs:288
Function
clock_source_to_bytes
(#[case] source: ClockSource, #[case] expected: [u8; 4])
clock-bound/src/daemon/selected_clock.rs:309
Function
clock_source_to_u32
(#[case] source: ClockSource, #[case] expected: u32)
clock-bound/src/daemon/selected_clock.rs:298
Method
clock_step
(phase_correction: Duration)
clock-bound/src/daemon/time/timex.rs:317
Function
compare_clock_error_bound
( #[case] first: ClockParameters, #[case] second: event::Ntp, #[case] period: Period,
clock-bound/src/daemon/clock_parameters.rs:218
Function
compare_clock_error_bound_with_aging
( #[case] first: ClockParameters, #[case] second: event::Ntp, #[case] period: Period,
clock-bound/src/daemon/clock_parameters.rs:268
Function
compute_bound_bad_drift
()
clock-bound/src/shm.rs:986
← previous
next →
401–500 of 1,214, ranked by callers