Struct usl::Measurement [−][src]
Expand description
A simultaneous measurement of at least two of the parameters of Little’s Law: concurrency, throughput, and latency. The third parameter is inferred from the other two.
Fields
n: f64
The average number of concurrent events.
x: f64
The long-term arrival rate of events, in events/sec.
r: f64
The average duration of events, in seconds.
Implementations
impl Measurement
[src]
impl Measurement
[src]pub fn concurrency_and_latency(n: u32, r: Duration) -> Measurement
[src]
pub fn concurrency_and_latency(n: u32, r: Duration) -> Measurement
[src]Create a measurement of a system’s latency at a given level of concurrency. The throughput of the system is derived via Little’s Law.
pub fn concurrency_and_throughput(n: u32, x: f64) -> Measurement
[src]
pub fn concurrency_and_throughput(n: u32, x: f64) -> Measurement
[src]Create a measurement of a system’s throughput at a given level of concurrency. The latency of the system is derived via Little’s Law.
pub fn throughput_and_latency(x: f64, r: Duration) -> Measurement
[src]
pub fn throughput_and_latency(x: f64, r: Duration) -> Measurement
[src]Create a measurement of a system’s latency at a given level of throughput. The concurrency of the system is derived via Little’s Law.
Trait Implementations
impl Clone for Measurement
[src]
impl Clone for Measurement
[src]fn clone(&self) -> Measurement
[src]
fn clone(&self) -> Measurement
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for Measurement
[src]
impl Debug for Measurement
[src]impl Copy for Measurement
[src]
Auto Trait Implementations
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnwindSafe for Measurement
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more