MCPcopy Create free account

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

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

↓ 919 callersFunctionnew
()
clock-bound-ff-tester/src/simulation/ntp/perfect.rs:198
↓ 79 callersMethodbuild
Builds a multi-source generator from the added generators Creates a generator that will combine all the added sources. If no generators have been add
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:59
↓ 72 callersMethodbuild
Custom `build` finishing function on the generated `ClockErrorBoundLayoutBuilder`. Take the layout version number as a parameter, it is a u16 to ease
clock-bound/src/shm.rs:168
↓ 69 callersMethodget
Get inner value in hz
clock-bound/src/daemon/time/tsc.rs:123
↓ 66 callersMethodpush
Pushes a new value into the buffer, overwriting the oldest value if the buffer is full Returns the value that was overwritten, if any
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:34
↓ 46 callersMethodtsc_post
(&self)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer.rs:21
↓ 42 callersMethodstart_time
Return the start time from this model.
clock-bound-ff-tester/src/simulation/oscillator.rs:126
↓ 41 callersMethodclock_frequency
Return the clock frequency from this model.
clock-bound-ff-tester/src/simulation/oscillator.rs:121
↓ 37 callersMethodas_ref
(&self)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:163
↓ 37 callersMethoddata
phc data getter
clock-bound/src/daemon/event/phc.rs:64
↓ 36 callersMethodid
Getter for this generator's source identifier
clock-bound-ff-tester/src/simulation/ntp/dispersion_increase_linear.rs:144
↓ 36 callersMethodtsc_pre
(&self)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer.rs:25
↓ 33 callersFunctioncreate
Create a new Sender-Receiver pair async ring buffer See [module level documentation](self) for more information. # Panics Panics if size is 0
clock-bound/src/daemon/async_ring_buffer.rs:51
↓ 33 callersMethodoscillator
Get the [`Oscillator`] model
clock-bound-ff-tester/src/simulation/oscillator.rs:475
↓ 32 callersMethodas_nanos
Returns the total number of nanoseconds, rounded since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:276
↓ 30 callersMethodindices
Return the time series indices
clock-bound-ff-tester/src/simulation/ntp/series.rs:56
↓ 30 callersMethodwrite
Update the clock error bound data in the memory segment. This function implements the lock-free mechanism that lets the writer update the memory segm
clock-bound/src/shm/writer.rs:276
↓ 29 callersMethodas_ref
(&self)
clock-bound-ff-tester/src/simulation/oscillator.rs:522
↓ 29 callersMethoditer
Iterator of index with data
clock-bound-ff-tester/src/time/series.rs:50
↓ 27 callersMethodlen
Returns the number of data points in this series
clock-bound-ff-tester/src/time/series.rs:30
↓ 27 callersMethodsend
(&self, value: T)
clock-bound/src/daemon/async_ring_buffer.rs:83
↓ 25 callersMethodrtt
(&self)
clock-bound/src/daemon/time/inner.rs:52
↓ 23 callersMethodfeed
(&mut self, local: &Local<T>, period_estimate: Period)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:132
↓ 23 callersMethodget
Get the inner value
clock-bound/src/daemon/time/inner.rs:103
↓ 23 callersMethodmidpoint
(&self, other: Self)
clock-bound/src/daemon/time/inner.rs:131
↓ 22 callersMethodabs
(&self)
clock-bound/src/daemon/time/inner.rs:351
↓ 22 callersMethodapproximate
Return the approximate data at the given time index
clock-bound-ff-tester/src/simulation/ntp/series.rs:66
↓ 22 callersFunctionnew
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:232
↓ 19 callersMethodclock_disruption_support_enabled
(&self)
clock-bound/src/shm.rs:109
↓ 19 callersMethoddata
Return the forward delays of the time series
clock-bound-ff-tester/src/simulation/ntp/series.rs:61
↓ 19 callersMethodtsc_timestamp_start
Return the tsc timestamp start from this model
clock-bound-ff-tester/src/simulation/oscillator.rs:131
↓ 18 callersMethodadd_generator
Adds a generator to the multi-source generator Generators are queried in the order they are added, but events are produced in chronological order bas
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:50
↓ 17 callersMethodas_femtos
Returns the total number of femtoseconds since the Unix Epoch
clock-bound/src/daemon/time/inner.rs:266
↓ 17 callersMethodtsc_post
`tsc_post` getter
clock-bound/src/daemon/event/phc.rs:59
↓ 17 callersMethodtsc_pre
`tsc_pre` getter
clock-bound/src/daemon/event/phc.rs:54
↓ 16 callersMethodas_seconds_f64
(self)
clock-bound/src/daemon/time/inner.rs:610
↓ 16 callersMethoddisruption_marker
(&self)
clock-bound/src/shm.rs:102
↓ 16 callersMethodfeed
Feed an event into this algorithm Returns [`Some`] if the event has improved this source's [`ClockParameters`].
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:82
↓ 16 callersFunctionpoll_period
()
clock-bound-ff-tester/src/simulation/ntp/series.rs:594
↓ 15 callersMethodfeed
Feed an event into this algorithm Returns [`Some`] if the event has improved this source's [`ClockParameters`].
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:69
↓ 15 callersMethodmax_drift_ppb
(&self)
clock-bound/src/shm.rs:88
↓ 14 callersMethodmin_rtt_in_quarter
(&self, quarter: Quarter)
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:109
↓ 14 callersMethodtsc_midpoint
The TSC midpoint
clock-bound/src/daemon/event.rs:35
↓ 13 callersMethodget_time
Get the current `Instant` by reading `ClockParameters`
clock-bound/src/daemon/time/clocks.rs:26
↓ 13 callersMethodntp
(&self)
clock-bound-ff-tester/src/events/v1.rs:74
↓ 13 callersMethodoffset_series
Return the offset data series from this model
clock-bound-ff-tester/src/simulation/oscillator.rs:136
↓ 13 callersMethodrecv
(&mut self)
clock-bound/src/daemon/receiver_stream.rs:102
↓ 13 callersMethodwrite
Update the clock error bound data in the memory segment. This function implements the lock-free mechanism that lets the writer update the memory segm
clock-bound/src/vmclock/shm_writer.rs:255
↓ 12 callersMethodbackward_network
Returns the `backward_network_delay`
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:95
↓ 12 callersMethodforward_network
Returns the `forward_network_delay`
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:90
↓ 12 callersMethodhead
Get the latest value added to the ring buffer
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:82
↓ 12 callersFunctiontest_clock_snapshot
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:469
↓ 12 callersMethodtrue_time_to_tsc_timestamps
(&self)
clock-bound-ff-tester/src/simulation/oscillator.rs:420
↓ 11 callersMethodparse
Parse from bytes
clock-bound/src/daemon/io/ntp/packet/short.rs:66
↓ 11 callersMethodpush
(&mut self, event: T, now_tsc_post: TscCount)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:97
↓ 10 callersMethodas_of
(&self)
clock-bound/src/shm.rs:67
↓ 10 callersMethodclock_status
(&self)
clock-bound/src/shm.rs:95
↓ 10 callersMethoddata
Get the data of the series
clock-bound-ff-tester/src/time/series.rs:45
↓ 10 callersMethoddemote_to_estimate
(self)
clock-bound-ff-tester/src/time/true_instant.rs:64
↓ 10 callersMethodfeed
Feed the clock sync algorithm with a time synchronization event
clock-bound/src/daemon/clock_sync_algorithm.rs:69
↓ 10 callersFunctionlinear
probably has a performance hit, but this helps correctness
clock-bound-ff-tester/src/simulation/interpolation.rs:30
↓ 10 callersFunctionnew
(constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:223
↓ 10 callersMethodvoid_after
(&self)
clock-bound/src/shm.rs:74
↓ 9 callersMethodas_ref
(&self)
clock-bound-ff-tester/src/events/v1/oscillator.rs:104
↓ 9 callersMethodcalculate_clock_error_bound
Calculate the clock error bound of this event at the time of the event This is different from the clock error bound that would be reported to a user
clock-bound/src/daemon/event/phc.rs:146
↓ 9 callersMethodget
Get the current clock source and its stratum Returns a tuple of (`ClockSource`, `Stratum`) representing the current state.
clock-bound/src/daemon/selected_clock.rs:28
↓ 9 callersMethodget
Get the inner value
clock-bound/src/daemon/event/ntp.rs:331
↓ 9 callersMethodinto_estimate
(self)
clock-bound-ff-tester/src/time/estimate_instant.rs:45
↓ 9 callersMethodnext_event_ready
( &self, oscillator: &crate::simulation::oscillator::FullModel, )
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:68
↓ 9 callersFunctionparse
()
clock-bound/src/daemon/io/ntp/packet.rs:352
↓ 9 callersFunctionremove_file_or_directory
Helper function to remove files created during unit tests.
clock-bound/src/client.rs:405
↓ 9 callersMethodrng
(&self)
clock-bound-ff-tester/src/simulation/oscillator.rs:101
↓ 9 callersMethodset_to_server
Set the clock source to a remote NTP server
clock-bound/src/daemon/selected_clock.rs:58
↓ 9 callersFunctiontest_clock_parameters
()
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:458
↓ 8 callersFunctionclock_gettime_safe
(clock_id: ClockId)
clock-bound/src/shm/common.rs:20
↓ 8 callersMethodexpunge_old_events
Delete events older than the SKM Window Requires a period measurement to convert the TSC values to time durations. # Starvation warning This will cl
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:142
↓ 8 callersMethodget_offset_and_rtt
Get the offset and RTT measurement for this reading between this clock and another clock. The "offset" is from the caller to the `other` clock - e.g.
clock-bound/src/daemon/time/inner.rs:68
↓ 8 callersMethodget_value
(&self, rng: &mut R)
clock-bound-ff-tester/src/simulation/delay.rs:25
↓ 8 callersMethodoscillator_offsets
The offset series
clock-bound-ff-tester/src/events/v1/oscillator.rs:72
↓ 8 callersMethodserver
Returns the `server_delay`
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:100
↓ 8 callersMethodto_clock_adjusted
( &self, ntp_adjtime: &impl NtpAdjTimeExt, clock_params: &ClockParameters, sna
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:230
↓ 7 callersMethodassume_true
(self)
clock-bound-ff-tester/src/time/true_instant.rs:48
↓ 7 callersMethodbound_nsec
(&self)
clock-bound/src/shm.rs:81
↓ 7 callersMethodcompute_bound_at
( &self, real: TimeSpec, mono: TimeSpec, )
clock-bound/src/shm.rs:439
↓ 7 callersMethodcreate_scenario
Generate a full scenario from a [`FullModel`] This will take the scenario as it currently exists, and exhaust it after running. The output scenario w
clock-bound-ff-tester/src/simulation/generator.rs:44
↓ 7 callersMethoddata
`data` getter
clock-bound/src/daemon/event/ntp.rs:67
↓ 7 callersMethodgenerate
(&mut self, oscillator: &crate::simulation::oscillator::FullModel)
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:97
↓ 7 callersMethoditer
iterate from the tail to the head (oldest to newest) Use `rev` on the iterator if you want to search the other way
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:94
↓ 7 callersMethodmean
(&self)
clock-bound-ff-tester/src/simulation/oscillator.rs:105
↓ 7 callersMethodmin_rtt
Return the value with the lowest rtt in the `ring_buffer`
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:101
↓ 7 callersMethodperiod
Convert into a [`Period`]
clock-bound/src/daemon/time/tsc.rs:161
↓ 7 callersMethodstep_size
(&self)
clock-bound-ff-tester/src/simulation/oscillator.rs:113
↓ 7 callersMethodtail
Get the oldest value in the ring buffer
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:87
↓ 7 callersMethodtime_at
Calculate the uncorrected time of a corresponding TSC value
clock-bound/src/daemon/clock_sync_algorithm/ff/uncorrected_clock.rs:20
↓ 7 callersMethodto_initial_phase_correct_halted
( &self, ntp_adjtime: &impl NtpAdjTimeExt, )
clock-bound/src/daemon/clock_state/clock_adjust/state_machine.rs:149
↓ 7 callersMethodwrite_error
Write over the `clockbound_err` memory. This function is the interface between Rust `ClockBoundError` and its C version. The C caller allocates memor
clock-bound-ffi/src/lib.rs:68
↓ 6 callersMethodadjust_clock
Performs an adjustment of the clock, to apply the given phase correction and skew values, in a single system call. # Errors `NtpAdjTimeError::Failure
clock-bound/src/daemon/clock_state/clock_adjust/ntp_adjtime.rs:98
↓ 6 callersMethodas_ref
(&self)
clock-bound/src/daemon/time/timex.rs:480
↓ 6 callersMethodassert_within_error_bound
(self, expected: TimeDelta)
clock-bound/src/daemon/io/ntp/packet/short.rs:74
↓ 6 callersMethodfeed
Feed the ring buffer with a new event # Errors - the event is older than events already in the buffer
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:114
next →1–100 of 1,214, ranked by callers