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
Method
new
( poll_period: EstimateDuration, id: String, #[builder(default = TrueDuration::from_mi
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:89
Method
new
( poll_period: EstimateDuration, id: String, #[builder(default)] root_dispersion: Esti
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:87
Method
new
Create a new forward delay series
clock-bound-ff-tester/src/simulation/ntp/series.rs:51
Method
new
Returns a Normal distribution struct which we can sample from. # Errors An error will be returned if the standard deviation is 0 or if the backend di
clock-bound-ff-tester/src/simulation/stats/normal.rs:19
Method
new
Returns a Truncated Distribution we can sample from # Panics This function panics if `maximum <= minimum`
clock-bound-ff-tester/src/simulation/stats/truncated.rs:20
Method
new
Returns a Gamma distribution struct which we can sample from. # Errors An error will be returned if the input parameters are ill defined.
clock-bound-ff-tester/src/simulation/stats/gamma.rs:24
Function
new_buffer
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:195
Function
new_buffer
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:183
Function
new_defaults
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:219
Function
new_defaults
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:208
Function
new_defaults
()
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:174
Method
new_request
Construct an NTP request packet using an arbitrary u32 as the transmit timestamp Convention is that the transmit timestamp does not need to correlate
clock-bound/src/daemon/io/ntp/packet.rs:141
Method
new_with_max_version_unchecked
(path: &CStr)
clock-bound/src/shm/reader.rs:205
Method
new_with_path
Creates and returns a new `ClockBoundClient`. The client accesses two shared memory segments. One written to by the ClockBound daemon. The second one
clock-bound/src/client.rs:45
Method
new_with_paths
Creates and returns a new `ClockBoundClient`. The client accesses two shared memory segments. One written to by the ClockBound daemon. The second one
clock-bound/src/client.rs:58
Function
next_event_ready
(dut_generator: Generator, constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/vmclock.rs:232
Function
next_event_ready
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:252
Function
next_event_ready
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:256
Function
next_event_ready
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:227
Function
next_event_ready_chooses_earliest_generator
(constant_skew_oscillator_model: FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:313
Function
noise_statistical_properties
()
clock-bound-ff-tester/src/simulation/oscillator.rs:987
Function
noise_with_extreme_parameters
()
clock-bound-ff-tester/src/simulation/oscillator.rs:1047
Function
nonmetal_instance
()
clock-bound/src/daemon/io/imds.rs:148
Method
now
(&self)
clock-bound/src/shm.rs:118
Method
now
Create a new [`SystemClockMeasurement`]
clock-bound/src/daemon/event.rs:51
Function
oscillator_estimate_to_true_duration_matches_expected
( #[case] oscillator: Oscillator, #[case] estimate_nanos: i128, #[case] expected_nanos
clock-bound-ff-tester/src/simulation/oscillator.rs:728
Function
oscillator_simple_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:252
Function
oscillator_simple_default_values
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:280
Function
oscillator_simple_noise_params_require_noise_flag
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:338
Function
oscillator_simple_with_noise_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:305
Function
oscillator_sine_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:378
Function
oscillator_sine_with_noise_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:409
Function
overflow_behavior
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:440
Function
packet_builder
()
clock-bound/src/daemon/io/ntp/packet.rs:447
Function
packet_is_unuseable
( #[case] packet: Packet, #[case] ntp_data: Result<NtpData, TryFromPacketError>, )
clock-bound/src/daemon/io/ntp/packet.rs:495
Function
packet_total_size
(#[case] packet: Packet, #[case] expected_size: usize)
clock-bound/src/daemon/io/ntp/packet.rs:394
Method
params_to_source
(refid: u32, stratum: Stratum)
clock-bound/src/daemon/selected_clock.rs:79
Method
parse
Parse from bytes of an NTP packet
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:110
Method
parse_from_bytes
Parse from packet payload
clock-bound/src/daemon/io/ntp/packet.rs:207
Method
parse_from_bytes
Parses an extension field from bytes in network byte order Attempts to parse an NTP extension field from the provided byte slice according to RFC 590
clock-bound/src/daemon/io/ntp/packet/extension.rs:125
Method
parse_from_duration
Parse from a duration of time Takes in a signed integer plus a suffix of - days - hours - minutes - seconds - milliseconds - microseconds - nanosecon
clock-bound/src/daemon/time/inner/string_parse.rs:24
Function
parse_from_packet
()
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:192
Function
parse_leap_indicator
(#[case] byte: &[u8], #[case] expected: LeapIndicator)
clock-bound/src/daemon/io/ntp/packet/header.rs:162
Function
parse_mode
(#[case] byte: &[u8], #[case] expected: Mode)
clock-bound/src/daemon/io/ntp/packet/header.rs:203
Function
parse_unknown_field_type_fails
()
clock-bound/src/daemon/io/ntp/packet/extension.rs:215
Function
parse_version
(#[case] byte: u8)
clock-bound/src/daemon/io/ntp/packet/header.rs:185
Function
parsing_failure
(#[case] input: &str)
clock-bound-ff-tester/src/simulation/stats/string_parse.rs:88
Function
parsing_success
(#[case] input: &str, #[case] expected: (f64, f64, f64))
clock-bound-ff-tester/src/simulation/stats/string_parse.rs:74
Method
peek_at
Returns the value at the given index, or `None` if the index is out of bounds
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:52
Function
perfect_does_not_panic
()
clock-bound-ff-tester/src/sim_ll.rs:126
Function
perfect_does_not_panic
()
clock-bound-ff-tester/src/sim_phc.rs:126
Function
perfect_frequencies
(#[case] expected_perfect_oscillator: Oscillator)
clock-bound-ff-tester/src/simulation/oscillator.rs:648
Function
perfect_generator
()
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:152
Function
perfect_oscillator
()
clock-bound-ff-tester/src/simulation/oscillator.rs:600
Function
perfect_oscillator
()
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:114
Function
perfect_oscillator
()
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:182
Function
period_display
()
clock-bound/src/daemon/time/tsc.rs:706
Function
period_from_frequency
()
clock-bound/src/daemon/time/tsc.rs:676
Function
period_parse_from_str_invalid
(#[case] input: &str)
clock-bound/src/daemon/time/tsc.rs:789
Function
period_parse_from_str_valid
(#[case] input: &str, #[case] expected: f64)
clock-bound/src/daemon/time/tsc.rs:777
Function
phase_correct_halted_to_snapshot_retrieved
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:675
Function
phase_correct_halted_to_snapshot_retrieved_panic_on_failed_retrieve
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:689
Function
phc_clock_error_bound_reader_new
()
clock-bound/src/daemon/io/phc.rs:1034
Function
phc_conversion
()
clock-bound-ff-tester/src/repro.rs:267
Function
phc_invalid
()
clock-bound/src/daemon/event/phc.rs:187
Function
phc_sample_try_from_invalid_clock_error_bound
()
clock-bound/src/daemon/io/phc.rs:1081
Function
phc_sample_try_from_invalid_counter_diff
()
clock-bound/src/daemon/io/phc.rs:1059
Function
phc_sample_try_from_success
()
clock-bound/src/daemon/io/phc.rs:1041
Function
phc_stream
()
clock-bound/src/daemon/receiver_stream.rs:239
Function
phc_valid
()
clock-bound/src/daemon/event/phc.rs:201
Function
poll_period
()
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:301
Function
pop
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:303
Method
pop
Pops a value from the tail Used to remove stale values. Returns `None` if the values are empty
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:47
Function
positive_skew_oscillator
()
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:126
Function
positive_skew_oscillator
()
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:194
Method
pre_and_rtt
(tsc_pre: u64, rtt: u64)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer.rs:35
Function
purge_earlier_than
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:392
Function
push_and_peek
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:204
Function
push_newer
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:212
Function
push_single_event
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:213
Function
push_stale
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:198
Method
rate
(&self)
clock-bound-ff-tester/src/simulation/stats/gamma.rs:39
Method
read
(fdesc: i32)
clock-bound/src/shm/shm_header.rs:40
Method
read
(vector: &Vec<u8>)
clock-bound/src/vmclock/shm.rs:67
Function
read_phc_error_bound_bad_file_contents
(#[case] file_contents_to_write: &str)
clock-bound/src/daemon/io/phc.rs:1008
Function
read_phc_error_bound_file_does_not_exist
()
clock-bound/src/daemon/io/phc.rs:1027
Function
read_phc_error_bound_success
( #[case] file_contents_to_write: &str, #[case] return_value: i64, )
clock-bound/src/daemon/io/phc.rs:988
Method
read_tsc
(&self)
clock-bound/src/shm/tsc.rs:8
Function
receiver_drop
()
clock-bound/src/daemon/async_ring_buffer.rs:337
Function
receiver_stream
()
clock-bound/src/daemon/receiver_stream.rs:181
Function
remove_ntp_source
()
clock-bound/src/daemon/receiver_stream.rs:286
Function
remove_path_if_exists
(path_shm: &str)
clock-bound/src/vmclock/shm.rs:389
Function
reset_clock
()
test/clock-bound-adjust-clock-test/src/adjust_clock_test.rs:245
Function
retain_high_quality_events
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:225
Method
retrieve
(ntp_adjtime: &impl NtpAdjTimeExt)
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:429
Method
retrieve
Completely zeroed, allows for retrieving the current kernel values
clock-bound/src/daemon/time/timex.rs:370
Function
rounding
()
clock-bound/src/daemon/time/inner.rs:873
Function
routable_from_tester_event
(event: v1::Event)
clock-bound-ff-tester/src/repro.rs:138
Method
rtt
The TSC round-trip-time of an event
clock-bound/src/daemon/event.rs:30
Method
run
Run the daemon
clock-bound/src/daemon.rs:175
← previous
next →
901–1,000 of 1,214, ranked by callers