pub enum Dim {
Project,
Session,
Model,
Type,
}Expand description
One level (frame “row”) of the flamegraph hierarchy, outermost first. The
default is Project → Session → Model → Type; the binary’s --group-by
lets a user reorder or drop levels — e.g. dropping Dim::Session (the
opaque session-id row) gives a cleaner project → model → token-type view.
Dim::Type is the per-request token-type split (input / output /
cache-read / cache-write / thinking). When it is omitted, those five are
SUMMED into the innermost structural frame instead of broken out — totals
are unchanged either way (regrouping never drops spend).
Variants§
Implementations§
Trait Implementations§
impl Copy for Dim
impl Eq for Dim
impl StructuralPartialEq for Dim
Auto Trait Implementations§
impl Freeze for Dim
impl RefUnwindSafe for Dim
impl Send for Dim
impl Sync for Dim
impl Unpin for Dim
impl UnsafeUnpin for Dim
impl UnwindSafe for Dim
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