pub struct CoalescingReport {
pub pattern: AccessPattern,
pub transactions: u32,
pub efficiency: f64,
pub cache_lines_touched: u32,
pub suggestion: String,
}Expand description
Result of coalescing analysis.
Fields§
§pattern: AccessPatternDetected pattern.
transactions: u32Number of memory transactions needed (fewer = better). Ideal: 1 transaction for 32 threads. Worst: 32 transactions.
efficiency: f64Efficiency: useful bytes / total bytes transferred (0.0 to 1.0).
cache_lines_touched: u32Cache line utilization (assuming 128-byte cache lines).
suggestion: StringOptimization suggestion.
Trait Implementations§
Source§impl Clone for CoalescingReport
impl Clone for CoalescingReport
Source§fn clone(&self) -> CoalescingReport
fn clone(&self) -> CoalescingReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoalescingReport
impl Debug for CoalescingReport
Auto Trait Implementations§
impl Freeze for CoalescingReport
impl RefUnwindSafe for CoalescingReport
impl Send for CoalescingReport
impl Sync for CoalescingReport
impl Unpin for CoalescingReport
impl UnsafeUnpin for CoalescingReport
impl UnwindSafe for CoalescingReport
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