pub struct PipeTransferReport {
pub ops_per_sec: f64,
pub scaled: f64,
pub unit: &'static str,
}Expand description
Pipe-mode (-p) throughput reporting used by the ktstr-schbench-validate
driver to mirror schbench’s avg worker transfer line; clamps the transfer
size + scales bytes/sec exactly like schbench (schbench.c:1979-1982). Not in
the prelude (validation-tool surface, like StandaloneReport).
schbench’s pipe-mode (-p) throughput summary — the avg worker transfer
line (schbench.c:1979-1982): the per-worker transfer rate as ops/sec plus
the pretty-scaled bytes/sec. Built by pipe_transfer_report.
Fields§
§ops_per_sec: f64Completed transfer cycles per second, PER WORKER (loop_count / Σ worker runtimes, schbench.c:1942-1943).
scaled: f64Bytes transferred per second PER WORKER, scaled into unit
(÷1024 per step, pretty_size).
unit: &'static strThe unit scaled is expressed in: B/KB/MB/GB/TB/PB/EB
(schbench.c:1606).
Trait Implementations§
Source§impl Clone for PipeTransferReport
impl Clone for PipeTransferReport
Source§fn clone(&self) -> PipeTransferReport
fn clone(&self) -> PipeTransferReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PipeTransferReport
impl Debug for PipeTransferReport
Source§impl PartialEq for PipeTransferReport
impl PartialEq for PipeTransferReport
impl Copy for PipeTransferReport
impl StructuralPartialEq for PipeTransferReport
Auto Trait Implementations§
impl Freeze for PipeTransferReport
impl RefUnwindSafe for PipeTransferReport
impl Send for PipeTransferReport
impl Sync for PipeTransferReport
impl Unpin for PipeTransferReport
impl UnwindSafe for PipeTransferReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more