pub struct Origin {
pub runner: String,
pub commit: Option<String>,
pub bench: String,
pub subject: String,
}Expand description
Where a profile came from, written into it as desc: tak <key>: <value>
lines.
desc: is the format’s own slot for free-form description, and
cg_annotate prints it, so a profile that has been copied out of its
directory still says where it came from.
Fields§
§runner: StringThe runner class. It matters for the same reason the notes are
partitioned on it: between runner classes a different glibc picks a
different memcpy, and an attribution across them reads as one
function vanishing and another appearing.
commit: Option<String>The commit measured, when there was one. With the benchmark and
subject, it lets tak explain find what the notes recorded for the
same series and say when a later run replaced the profile behind it.
bench: String§subject: StringTrait Implementations§
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Forget for Origin
impl Freeze for Origin
impl Move for Origin
impl RefUnwindSafe for Origin
impl Send for Originwhere
RawVecInner: Send,
impl Sync for Originwhere
RawVecInner: Sync,
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Originwhere
RawVecInner: UnwindSafe,
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