pub struct PerformanceReport {
args: Args,
cold_start_latency: Duration,
record_count: usize,
rate: EstimatedRate,
min_time: Duration,
max_time: Duration,
avg_time: Duration,
stddev_time: Duration,
mismatched_frame_count: u32,
}
Expand description
PerformanceReport
is the estimated buffer consumption rate and error term
derived by the linear regression of BufferConsumptionRecord
.
Fields§
§args: Args
§cold_start_latency: Duration
§record_count: usize
§rate: EstimatedRate
§min_time: Duration
{min, max, avg, stddev}_time for per “next_buffer + zero write + commit” call
max_time: Duration
§avg_time: Duration
§stddev_time: Duration
§mismatched_frame_count: u32
How many times that consumed frames are different from buffer_frames.
Trait Implementations§
source§impl Debug for PerformanceReport
impl Debug for PerformanceReport
source§impl Display for PerformanceReport
impl Display for PerformanceReport
Auto Trait Implementations§
impl RefUnwindSafe for PerformanceReport
impl Send for PerformanceReport
impl Sync for PerformanceReport
impl Unpin for PerformanceReport
impl UnwindSafe for PerformanceReport
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
Mutably borrows from an owned value. Read more