Skip to content
API REFERENCEUsage guides →

cellpack::prof::Record ​

struct

Module contract · All interfaces

At a glance ​

pub struct Record {
    pub words: Vec<u64>,
}

One thread’s site records, as plain words.

Fields and variants ​

words ​

words: Vec<u64>

Calls then ticks per detail slot, then the histograms (Layout::words).

Member index ​

2 of 2 members

  • newZeroed words for layout .
  • addAdds another record’s words into this one, growing to its length.

Methods and associated constants ​

new ​

pub fn new(layout: &Layout) -> Self

Zeroed words for layout.

add ​

pub fn add(&mut self, o: &Record)

Adds another record’s words into this one, growing to its length.

Implemented traits ​

impl Clone for Record
impl Debug for Record
impl Default for Record

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition