pub struct ShapeRecord {
pub label: String,
pub invocations: u64,
pub total_us: u64,
pub visits: u64,
}Expand description
Per-shape or per-rule wall-clock record. One entry per distinct label
(shape IRI, @N slot id, or rule[N]).
Fields§
§label: StringShape IRI (named shapes), @N arena slot (blank-node shapes), or
rule[N] (inference rules).
invocations: u64Number of evaluation calls (one per focus node for validation, one per rule firing for inference).
total_us: u64Total wall-clock time across all invocations, in microseconds.
visits: u64Evidence-materialization node visits attributed to this label, when the caller reported them. Zero for conformance-only and inference records.
Trait Implementations§
Source§impl Clone for ShapeRecord
impl Clone for ShapeRecord
Auto Trait Implementations§
impl Freeze for ShapeRecord
impl RefUnwindSafe for ShapeRecord
impl Send for ShapeRecord
impl Sync for ShapeRecord
impl Unpin for ShapeRecord
impl UnsafeUnpin for ShapeRecord
impl UnwindSafe for ShapeRecord
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