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
Function
leap_indicator_to_bits
(#[case] expected: u8, #[case] leap_indicator: LeapIndicator)
clock-bound/src/daemon/io/ntp/packet/header.rs:175
Function
lengths_match
(#[case] expected_perfect_oscillator: Oscillator)
clock-bound-ff-tester/src/simulation/oscillator.rs:662
Function
linear_interpolation_basic
()
clock-bound-ff-tester/src/simulation/interpolation.rs:246
Function
linear_interpolation_exact_bounds
()
clock-bound-ff-tester/src/simulation/interpolation.rs:273
Function
linear_interpolation_floating_point_precision
()
clock-bound-ff-tester/src/simulation/interpolation.rs:290
Function
linear_interpolation_floating_point_x_equals
()
clock-bound-ff-tester/src/simulation/interpolation.rs:303
Function
linear_interpolation_floating_point_y_equals
()
clock-bound-ff-tester/src/simulation/interpolation.rs:297
Function
linear_interpolation_midpoint
()
clock-bound-ff-tester/src/simulation/interpolation.rs:253
Function
linear_interpolation_negative_values
()
clock-bound-ff-tester/src/simulation/interpolation.rs:260
Function
linear_interpolation_outside_bounds
()
clock-bound-ff-tester/src/simulation/interpolation.rs:283
Method
loc
(&self)
clock-bound-ff-tester/src/simulation/stats/gamma.rs:43
Function
main
()
clock-bound/src/bin/clockbound.rs:17
Function
main
()
test/clock-bound-adjust-clock-test/src/adjust_clock_test.rs:91
Function
main
()
test/phc/src/main.rs:17
Function
main
()
test/clock-bound-adjust-clock/src/step_clock.rs:22
Function
main
()
test/clock-bound-adjust-clock/src/adjust_clock.rs:29
Function
main
()
test/link-local/src/main.rs:33
Function
main
()
test/ntp-source/src/main.rs:26
Function
main
()
test/clock-bound-phc-offset/src/main.rs:30
Function
main
()
test/clock-bound-vmclock-client-test/src/main.rs:9
Function
main
()
test/vmclock-updater/src/main.rs:79
Function
main
()
test/clock-bound-now/src/main.rs:15
Function
main
()
test/vmclock/src/main.rs:17
Function
main
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
Function
main
()
clock-bound-ff-tester/src/bin/sim_ll.rs:19
Function
main
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
Function
main
()
clock-bound-ff-tester/src/bin/repro_replay.rs:33
Function
main
()
examples/client/rust/src/main.rs:14
Function
main
examples/client/c/src/clockbound_loop_forever.c:77
Function
main
examples/client/c/src/clockbound_now.c:93
Method
map_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
Method
max_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
Function
max_value
()
clock-bound/src/daemon/io/ntp/packet/short.rs:189
Function
metal_instance
()
clock-bound/src/daemon/io/imds.rs:141
Function
micros
()
clock-bound/src/daemon/time/inner.rs:866
Function
midpoint
(#[case] a: i128, #[case] b: i128, #[case] expected: i128)
clock-bound/src/daemon/time/inner.rs:838
Function
millis
()
clock-bound/src/daemon/time/inner.rs:859
Function
min_rtt
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:316
Function
min_rtt_in_quarter_2_values
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:372
Function
min_rtt_in_quarter_newest
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:334
Function
min_rtt_in_quarter_oldest
()
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:353
Function
minutes
()
clock-bound/src/daemon/time/inner.rs:880
Method
mmap_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
Method
mmap_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
Function
mode_to_bits
(#[case] expected: u8, #[case] mode: Mode)
clock-bound/src/daemon/io/ntp/packet/header.rs:219
Function
model
( x: &DVector<ScalarType>, mu: ScalarType, )
clock-bound-ff-tester/src/simulation/stats/normal.rs:156
Method
mul
(self, rhs: usize)
clock-bound/src/daemon/time/inner.rs:437
Method
mul
(self, rhs: Frequency)
clock-bound/src/daemon/time/tsc.rs:224
Method
mul_assign
(&mut self, rhs: usize)
clock-bound/src/daemon/time/inner.rs:455
Method
mul_assign
(&mut self, rhs: f64)
clock-bound/src/daemon/time/tsc.rs:256
Function
multiple_generations
(mut dut_generator: Generator, constant_skew: FullModel)
clock-bound-ff-tester/src/simulation/vmclock.rs:284
Function
nanos
()
clock-bound/src/daemon/time/inner.rs:853
Method
neg
(self)
clock-bound/src/daemon/time/inner.rs:463
Method
neg
(self)
clock-bound/src/daemon/time/tsc.rs:366
Function
negative_is_none
()
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:150
Function
negative_is_none
()
clock-bound/src/daemon/io/ntp/packet/short.rs:125
Method
network
Returns the total network delay
clock-bound-ff-tester/src/simulation/ntp/round_trip_delays.rs:149
Method
new
Create a new `ClockErrorBound` struct.
clock-bound/src/shm.rs:386
Method
new
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
Method
new
( path: &Path, minimum_version: ClockErrorBoundLayoutVersion, current_version: ClockEr
clock-bound/src/shm/writer.rs:68
Method
new
Create a new `FdGuard`. Open a file at `path` and store the open file descriptor
clock-bound/src/shm/reader.rs:28
Method
new
(buffer: Arc<Mutex<Buffer<T>>>, notifier: Arc<Notify>)
clock-bound/src/daemon/async_ring_buffer.rs:70
Method
new
( clock_state_writer: Box<dyn ClockStateWrite>, clock_adjuster: Box<dyn ClockAdjust>,
clock-bound/src/daemon/clock_state.rs:48
Method
new
(shm_writer: ShmWriter)
clock-bound/src/daemon/clock_state/clock_state_writer.rs:28
Method
new
(ntp_adjtime: T)
clock-bound/src/daemon/clock_state/clock_adjust.rs:117
Method
new
(phc_device_file: File)
clock-bound/src/daemon/io/phc.rs:858
Method
new
(path: &str)
clock-bound/src/daemon/io/vmclock.rs:28
Method
new
Construct from a native endian representation
clock-bound/src/daemon/io/ntp/packet/timestamp.rs:51
Method
new
Construct from a native endian representation value
clock-bound/src/daemon/io/ntp/packet/short.rs:31
Method
new
Creates a new ring buffer with the given capacity
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:23
Method
new
Constructor
clock-bound/src/daemon/clock_sync_algorithm/selector.rs:25
Method
new
Create a new PHC reference clock source
clock-bound/src/daemon/clock_sync_algorithm/source/phc.rs:23
Method
new
Create a new Link Local reference clock source
clock-bound/src/daemon/clock_sync_algorithm/source/link_local.rs:21
Method
new
Create a new NTP Source reference clock source
clock-bound/src/daemon/clock_sync_algorithm/source/ntp_source.rs:25
Method
new
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
Method
new
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
Method
new
(tsc_pre: u64, tsc_post: u64)
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer.rs:31
Method
new
Creates a new ring buffer
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/local.rs:52
Method
new
Construct
clock-bound/src/daemon/clock_sync_algorithm/ff/event_buffer/estimate.rs:68
Method
new
(offset: Diff<T>, rtt: Diff<T>)
clock-bound/src/daemon/time/inner.rs:44
Method
new
Create a new `ClockBound` clock
clock-bound/src/daemon/time/clocks.rs:16
Method
new
( tsc_pre: TscCount, tsc_post: TscCount, data: PhcData, #[cfg(not(test))] syst
clock-bound/src/daemon/event/phc.rs:32
Method
new
( tsc_pre: TscCount, tsc_post: TscCount, ntp_data: NtpData, #[cfg(not(test))]
clock-bound/src/daemon/event/ntp.rs:35
Method
new
(path: &Path)
clock-bound/src/vmclock/shm_writer.rs:68
Method
new
Create a new `MmapGuard`. Memory map the provided open File.
clock-bound/src/vmclock/shm_reader.rs:37
Method
new
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
Method
new
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
Method
new
(phc_clock_error_bound_path: PathBuf)
test/clock-bound-phc-offset/src/phc/ceb.rs:20
Method
new
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
Method
new
Construct a new generic ClockBound client. # Panics Panics if initialization of ClockBound client fails.
test/clock-bound-client-generic/src/lib.rs:106
Method
new
(algorithm: ClockSyncAlgorithm)
clock-bound-ff-tester/src/sim_ll.rs:32
Method
new
(algorithm: ClockSyncAlgorithm)
clock-bound-ff-tester/src/sim_phc.rs:35
Method
new
Create a new oscillator offset series
clock-bound-ff-tester/src/events/v1/oscillator.rs:88
Method
new
Create a new series Returns none if index and data lengths don't match
clock-bound-ff-tester/src/time/series.rs:19
Method
new
( rng: Box<dyn rand::RngCore>, #[builder(default = TrueDuration::from_secs(0))] mean: TrueDura
clock-bound-ff-tester/src/simulation/oscillator.rs:83
Method
new
(distribution: T, unit: TimeUnit)
clock-bound-ff-tester/src/simulation/delay.rs:35
Method
new
(props: Props, id: String, oscillator: &FullModel, rng: Box<dyn RngCore>)
clock-bound-ff-tester/src/simulation/vmclock.rs:66
Method
new
( poll_period: EstimateDuration, id: String, oscillator: &FullModel, network_d
clock-bound-ff-tester/src/simulation/phc/variable_delay_source.rs:88
Method
new
Creates a new empty generator builder
clock-bound-ff-tester/src/simulation/ntp/multi_source.rs:40
Method
new
( poll_period: EstimateDuration, id: String, network_delays: VariableRoundTripDelays,
clock-bound-ff-tester/src/simulation/ntp/variable_network_delay_source.rs:90
← previous
next →
801–900 of 1,214, ranked by callers