MCPcopy Create free account

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

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

Methodnew
( poll_period: EstimateDuration, id: String, #[builder(default = TrueDuration::from_mi
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:89
Methodnew
( poll_period: EstimateDuration, id: String, #[builder(default)] root_dispersion: Esti
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:87
Methodnew
Create a new forward delay series
clock-bound-ff-tester/src/simulation/ntp/series.rs:51
Methodnew
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
Methodnew
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
Methodnew
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
Functionnew_buffer
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:195
Functionnew_buffer
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:183
Functionnew_defaults
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:219
Functionnew_defaults
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:208
Functionnew_defaults
()
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:174
Methodnew_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
Methodnew_with_max_version_unchecked
(path: &CStr)
clock-bound/src/shm/reader.rs:205
Methodnew_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
Methodnew_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
Functionnext_event_ready
(dut_generator: Generator, constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/vmclock.rs:232
Functionnext_event_ready
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:252
Functionnext_event_ready
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:256
Functionnext_event_ready
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:227
Functionnext_event_ready_chooses_earliest_generator
(constant_skew_oscillator_model: FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:313
Functionnoise_statistical_properties
()
clock-bound-ff-tester/src/simulation/oscillator.rs:987
Functionnoise_with_extreme_parameters
()
clock-bound-ff-tester/src/simulation/oscillator.rs:1047
Functionnonmetal_instance
()
clock-bound/src/daemon/io/imds.rs:148
Methodnow
(&self)
clock-bound/src/shm.rs:118
Methodnow
Create a new [`SystemClockMeasurement`]
clock-bound/src/daemon/event.rs:51
Functionoscillator_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
Functionoscillator_simple_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:252
Functionoscillator_simple_default_values
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:280
Functionoscillator_simple_noise_params_require_noise_flag
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:338
Functionoscillator_simple_with_noise_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:305
Functionoscillator_sine_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:378
Functionoscillator_sine_with_noise_cli_parsing
()
clock-bound-ff-tester/src/bin/oscillator_generator.rs:409
Functionoverflow_behavior
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:440
Functionpacket_builder
()
clock-bound/src/daemon/io/ntp/packet.rs:447
Functionpacket_is_unuseable
( #[case] packet: Packet, #[case] ntp_data: Result<NtpData, TryFromPacketError>, )
clock-bound/src/daemon/io/ntp/packet.rs:495
Functionpacket_total_size
(#[case] packet: Packet, #[case] expected_size: usize)
clock-bound/src/daemon/io/ntp/packet.rs:394
Methodparams_to_source
(refid: u32, stratum: Stratum)
clock-bound/src/daemon/selected_clock.rs:79
Methodparse
Parse from bytes of an NTP packet
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:110
Methodparse_from_bytes
Parse from packet payload
clock-bound/src/daemon/io/ntp/packet.rs:207
Methodparse_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
Methodparse_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
Functionparse_from_packet
()
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:192
Functionparse_leap_indicator
(#[case] byte: &[u8], #[case] expected: LeapIndicator)
clock-bound/src/daemon/io/ntp/packet/header.rs:162
Functionparse_mode
(#[case] byte: &[u8], #[case] expected: Mode)
clock-bound/src/daemon/io/ntp/packet/header.rs:203
Functionparse_unknown_field_type_fails
()
clock-bound/src/daemon/io/ntp/packet/extension.rs:215
Functionparse_version
(#[case] byte: u8)
clock-bound/src/daemon/io/ntp/packet/header.rs:185
Functionparsing_failure
(#[case] input: &str)
clock-bound-ff-tester/src/simulation/stats/string_parse.rs:88
Functionparsing_success
(#[case] input: &str, #[case] expected: (f64, f64, f64))
clock-bound-ff-tester/src/simulation/stats/string_parse.rs:74
Methodpeek_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
Functionperfect_does_not_panic
()
clock-bound-ff-tester/src/sim_ll.rs:126
Functionperfect_does_not_panic
()
clock-bound-ff-tester/src/sim_phc.rs:126
Functionperfect_frequencies
(#[case] expected_perfect_oscillator: Oscillator)
clock-bound-ff-tester/src/simulation/oscillator.rs:648
Functionperfect_generator
()
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:152
Functionperfect_oscillator
()
clock-bound-ff-tester/src/simulation/oscillator.rs:600
Functionperfect_oscillator
()
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:114
Functionperfect_oscillator
()
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:182
Functionperiod_display
()
clock-bound/src/daemon/time/tsc.rs:706
Functionperiod_from_frequency
()
clock-bound/src/daemon/time/tsc.rs:676
Functionperiod_parse_from_str_invalid
(#[case] input: &str)
clock-bound/src/daemon/time/tsc.rs:789
Functionperiod_parse_from_str_valid
(#[case] input: &str, #[case] expected: f64)
clock-bound/src/daemon/time/tsc.rs:777
Functionphase_correct_halted_to_snapshot_retrieved
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:675
Functionphase_correct_halted_to_snapshot_retrieved_panic_on_failed_retrieve
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:689
Functionphc_clock_error_bound_reader_new
()
clock-bound/src/daemon/io/phc.rs:1034
Functionphc_conversion
()
clock-bound-ff-tester/src/repro.rs:267
Functionphc_invalid
()
clock-bound/src/daemon/event/phc.rs:187
Functionphc_sample_try_from_invalid_clock_error_bound
()
clock-bound/src/daemon/io/phc.rs:1081
Functionphc_sample_try_from_invalid_counter_diff
()
clock-bound/src/daemon/io/phc.rs:1059
Functionphc_sample_try_from_success
()
clock-bound/src/daemon/io/phc.rs:1041
Functionphc_stream
()
clock-bound/src/daemon/receiver_stream.rs:239
Functionphc_valid
()
clock-bound/src/daemon/event/phc.rs:201
Functionpoll_period
()
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:301
Functionpop
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:303
Methodpop
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
Functionpositive_skew_oscillator
()
clock-bound-ff-tester/src/simulation/phc/round_trip_delays.rs:126
Functionpositive_skew_oscillator
()
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:194
Methodpre_and_rtt
(tsc_pre: u64, rtt: u64)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer.rs:35
Functionpurge_earlier_than
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:392
Functionpush_and_peek
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:204
Functionpush_newer
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:212
Functionpush_single_event
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:213
Functionpush_stale
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:198
Methodrate
(&self)
clock-bound-ff-tester/src/simulation/stats/gamma.rs:39
Methodread
(fdesc: i32)
clock-bound/src/shm/shm_header.rs:40
Methodread
(vector: &Vec<u8>)
clock-bound/src/vmclock/shm.rs:67
Functionread_phc_error_bound_bad_file_contents
(#[case] file_contents_to_write: &str)
clock-bound/src/daemon/io/phc.rs:1008
Functionread_phc_error_bound_file_does_not_exist
()
clock-bound/src/daemon/io/phc.rs:1027
Functionread_phc_error_bound_success
( #[case] file_contents_to_write: &str, #[case] return_value: i64, )
clock-bound/src/daemon/io/phc.rs:988
Methodread_tsc
(&self)
clock-bound/src/shm/tsc.rs:8
Functionreceiver_drop
()
clock-bound/src/daemon/async_ring_buffer.rs:337
Functionreceiver_stream
()
clock-bound/src/daemon/receiver_stream.rs:181
Functionremove_ntp_source
()
clock-bound/src/daemon/receiver_stream.rs:286
Functionremove_path_if_exists
(path_shm: &str)
clock-bound/src/vmclock/shm.rs:389
Functionreset_clock
()
test/clock-bound-adjust-clock-test/src/adjust_clock_test.rs:245
Functionretain_high_quality_events
()
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:225
Methodretrieve
(ntp_adjtime: &impl NtpAdjTimeExt)
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:429
Methodretrieve
Completely zeroed, allows for retrieving the current kernel values
clock-bound/src/daemon/time/timex.rs:370
Functionrounding
()
clock-bound/src/daemon/time/inner.rs:873
Functionroutable_from_tester_event
(event: v1::Event)
clock-bound-ff-tester/src/repro.rs:138
Methodrtt
The TSC round-trip-time of an event
clock-bound/src/daemon/event.rs:30
Methodrun
Run the daemon
clock-bound/src/daemon.rs:175
← previousnext →901–1,000 of 1,214, ranked by callers