MCPcopy Create free account

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

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

Functionleap_indicator_to_bits
(#[case] expected: u8, #[case] leap_indicator: LeapIndicator)
clock-bound/src/daemon/io/ntp/packet/header.rs:175
Functionlengths_match
(#[case] expected_perfect_oscillator: Oscillator)
clock-bound-ff-tester/src/simulation/oscillator.rs:662
Functionlinear_interpolation_basic
()
clock-bound-ff-tester/src/simulation/interpolation.rs:246
Functionlinear_interpolation_exact_bounds
()
clock-bound-ff-tester/src/simulation/interpolation.rs:273
Functionlinear_interpolation_floating_point_precision
()
clock-bound-ff-tester/src/simulation/interpolation.rs:290
Functionlinear_interpolation_floating_point_x_equals
()
clock-bound-ff-tester/src/simulation/interpolation.rs:303
Functionlinear_interpolation_floating_point_y_equals
()
clock-bound-ff-tester/src/simulation/interpolation.rs:297
Functionlinear_interpolation_midpoint
()
clock-bound-ff-tester/src/simulation/interpolation.rs:253
Functionlinear_interpolation_negative_values
()
clock-bound-ff-tester/src/simulation/interpolation.rs:260
Functionlinear_interpolation_outside_bounds
()
clock-bound-ff-tester/src/simulation/interpolation.rs:283
Methodloc
(&self)
clock-bound-ff-tester/src/simulation/stats/gamma.rs:43
Functionmain
()
clock-bound/src/bin/clockbound.rs:17
Functionmain
()
test/clock-bound-adjust-clock-test/src/adjust_clock_test.rs:91
Functionmain
()
test/phc/src/main.rs:17
Functionmain
()
test/clock-bound-adjust-clock/src/step_clock.rs:22
Functionmain
()
test/clock-bound-adjust-clock/src/adjust_clock.rs:29
Functionmain
()
test/link-local/src/main.rs:33
Functionmain
()
test/ntp-source/src/main.rs:26
Functionmain
()
test/clock-bound-phc-offset/src/main.rs:30
Functionmain
()
test/clock-bound-vmclock-client-test/src/main.rs:9
Functionmain
()
test/vmclock-updater/src/main.rs:79
Functionmain
()
test/clock-bound-now/src/main.rs:15
Functionmain
()
test/vmclock/src/main.rs:17
Functionmain
Main function of the scenario generator tool This function: 1. Parses command-line arguments 2. Deserializes an oscillator model from the specified f
clock-bound-ff-tester/src/bin/scenario_generator.rs:230
Functionmain
()
clock-bound-ff-tester/src/bin/sim_ll.rs:19
Functionmain
Main entry point for the oscillator generator tool Parses command-line arguments, creates a simple oscillator model, and outputs the model to the spe
clock-bound-ff-tester/src/bin/oscillator_generator.rs:152
Functionmain
()
clock-bound-ff-tester/src/bin/repro_replay.rs:33
Functionmain
()
examples/client/rust/src/main.rs:14
Functionmain
examples/client/c/src/clockbound_loop_forever.c:77
Functionmain
examples/client/c/src/clockbound_now.c:93
Methodmap_segment
Open and map the ClockBound shared memory segment. Make sure the file can be open, and that the raw pointers into memory are set. # Errors Returns
clock-bound/src/shm/reader.rs:239
Methodmax_seconds_since_ntp_epoch
Maximum spec-supported value as seconds since the NTP epoch for 1900
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:29
Functionmax_value
()
clock-bound/src/daemon/io/ntp/packet/short.rs:189
Functionmetal_instance
()
clock-bound/src/daemon/io/imds.rs:141
Functionmicros
()
clock-bound/src/daemon/time/inner.rs:866
Functionmidpoint
(#[case] a: i128, #[case] b: i128, #[case] expected: i128)
clock-bound/src/daemon/time/inner.rs:838
Functionmillis
()
clock-bound/src/daemon/time/inner.rs:859
Functionmin_rtt
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:316
Functionmin_rtt_in_quarter_2_values
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:372
Functionmin_rtt_in_quarter_newest
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:334
Functionmin_rtt_in_quarter_oldest
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:353
Functionminutes
()
clock-bound/src/daemon/time/inner.rs:880
Methodmmap_segment_at
Open and map the file at the given path to memory. TODO: implementation is using the nix crate, but may want to revisit and see if it would be worth
clock-bound/src/shm/writer.rs:242
Methodmmap_segment_at
Open and map the file at the given path to memory. TODO: implementation is using the nix crate, but may want to revisit and see if it would be worth
clock-bound/src/vmclock/shm_writer.rs:223
Functionmode_to_bits
(#[case] expected: u8, #[case] mode: Mode)
clock-bound/src/daemon/io/ntp/packet/header.rs:219
Functionmodel
( x: &DVector<ScalarType>, mu: ScalarType, )
clock-bound-ff-tester/src/simulation/stats/normal.rs:156
Methodmul
(self, rhs: usize)
clock-bound/src/daemon/time/inner.rs:437
Methodmul
(self, rhs: Frequency)
clock-bound/src/daemon/time/tsc.rs:224
Methodmul_assign
(&mut self, rhs: usize)
clock-bound/src/daemon/time/inner.rs:455
Methodmul_assign
(&mut self, rhs: f64)
clock-bound/src/daemon/time/tsc.rs:256
Functionmultiple_generations
(mut dut_generator: Generator, constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/vmclock.rs:284
Functionnanos
()
clock-bound/src/daemon/time/inner.rs:853
Methodneg
(self)
clock-bound/src/daemon/time/inner.rs:463
Methodneg
(self)
clock-bound/src/daemon/time/tsc.rs:366
Functionnegative_is_none
()
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:150
Functionnegative_is_none
()
clock-bound/src/daemon/io/ntp/packet/short.rs:125
Methodnetwork
Returns the total network delay
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:149
Methodnew
Create a new `ClockErrorBound` struct.
clock-bound/src/shm.rs:386
Methodnew
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:31
Methodnew
( path: &Path, minimum_version: ClockErrorBoundLayoutVersion, current_version: ClockEr
clock-bound/src/shm/writer.rs:68
Methodnew
Create a new `FdGuard`. Open a file at `path` and store the open file descriptor
clock-bound/src/shm/reader.rs:28
Methodnew
(buffer: Arc<Mutex<Buffer<T>>>, notifier: Arc<Notify>)
clock-bound/src/daemon/async_ring_buffer.rs:70
Methodnew
( clock_state_writer: Box<dyn ClockStateWrite>, clock_adjuster: Box<dyn ClockAdjust>,
clock-bound/src/daemon/clock_state.rs:48
Methodnew
(shm_writer: ShmWriter)
clock-bound/src/daemon/clock_state/clock_state_writer.rs:28
Methodnew
(ntp_adjtime: T)
clock-bound/src/daemon/clock_state/clock_adjust.rs:117
Methodnew
(phc_device_file: File)
clock-bound/src/daemon/io/phc.rs:858
Methodnew
(path: &str)
clock-bound/src/daemon/io/vmclock.rs:28
Methodnew
Construct from a native endian representation
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:51
Methodnew
Construct from a native endian representation value
clock-bound/src/daemon/io/ntp/packet/short.rs:31
Methodnew
Creates a new ring buffer with the given capacity
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:23
Methodnew
Constructor
clock-bound/src/daemon/clock_sync_algorithm/selector.rs:25
Methodnew
Create a new PHC reference clock source
clock-bound/src/daemon/clock_sync_algorithm/source/phc.rs:23
Methodnew
Create a new Link Local reference clock source
clock-bound/src/daemon/clock_sync_algorithm/source/link_local.rs:21
Methodnew
Create a new NTP Source reference clock source
clock-bound/src/daemon/clock_sync_algorithm/source/ntp_source.rs:25
Methodnew
Create a new feed forward time synchronization algorithm `local_capacity` should be the number of data-points to span an SKM window. For example, if
clock-bound/src/daemon/clock_sync_algorithm/ff/phc.rs:53
Methodnew
Create a new feed forward time synchronization algorithm `local_capacity` should be the number of data-points to span an SKM window. For example, if
clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:46
Methodnew
(tsc_pre: u64, tsc_post: u64)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer.rs:31
Methodnew
Creates a new ring buffer
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:52
Methodnew
Construct
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:68
Methodnew
(offset: Diff<T>, rtt: Diff<T>)
clock-bound/src/daemon/time/inner.rs:44
Methodnew
Create a new `ClockBound` clock
clock-bound/src/daemon/time/clocks.rs:16
Methodnew
( tsc_pre: TscCount, tsc_post: TscCount, data: PhcData, #[cfg(not(test))] syst
clock-bound/src/daemon/event/phc.rs:32
Methodnew
( tsc_pre: TscCount, tsc_post: TscCount, ntp_data: NtpData, #[cfg(not(test))]
clock-bound/src/daemon/event/ntp.rs:35
Methodnew
(path: &Path)
clock-bound/src/vmclock/shm_writer.rs:68
Methodnew
Create a new `MmapGuard`. Memory map the provided open File.
clock-bound/src/vmclock/shm_reader.rs:37
Methodnew
Return `ClockAdjustTestParameters`, which can be used to calculate a future change in the `CLOCK_REALTIME` change in phase offset with respect to `CLO
test/clock-bound-adjust-clock-test/src/adjust_clock_test.rs:122
Methodnew
Constructs a `PhcReader` struct using the specified PHC device file and PHC CEB file path. Should not be called directly - used by autoconfiguration f
test/clock-bound-phc-offset/src/phc.rs:96
Methodnew
(phc_clock_error_bound_path: PathBuf)
test/clock-bound-phc-offset/src/phc/ceb.rs:20
Methodnew
Construct a new `PtpReader`. This is a one-time-use struct that allows a read from the specified PTP device file.
test/clock-bound-phc-offset/src/phc/ptp.rs:49
Methodnew
Construct a new generic ClockBound client. # Panics Panics if initialization of ClockBound client fails.
test/clock-bound-client-generic/src/lib.rs:106
Methodnew
(algorithm: ClockSyncAlgorithm)
clock-bound-ff-tester/src/sim_ll.rs:32
Methodnew
(algorithm: ClockSyncAlgorithm)
clock-bound-ff-tester/src/sim_phc.rs:35
Methodnew
Create a new oscillator offset series
clock-bound-ff-tester/src/events/v1/oscillator.rs:88
Methodnew
Create a new series Returns none if index and data lengths don't match
clock-bound-ff-tester/src/time/series.rs:19
Methodnew
( rng: Box<dyn rand::RngCore>, #[builder(default = TrueDuration::from_secs(0))] mean: TrueDura
clock-bound-ff-tester/src/simulation/oscillator.rs:83
Methodnew
(distribution: T, unit: TimeUnit)
clock-bound-ff-tester/src/simulation/delay.rs:35
Methodnew
(props: Props, id: String, oscillator: &FullModel, rng: Box<dyn RngCore>)
clock-bound-ff-tester/src/simulation/vmclock.rs:66
Methodnew
( poll_period: EstimateDuration, id: String, oscillator: &FullModel, network_d
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:88
Methodnew
Creates a new empty generator builder
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:40
Methodnew
( poll_period: EstimateDuration, id: String, network_delays: VariableRoundTripDelays,
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:90
← previousnext →801–900 of 1,214, ranked by callers