pub struct ToolCallPhaseDurations {Show 24 fields
pub cpu: ToolCallPhaseCpu,
pub queue: Duration,
pub setup: Duration,
pub translate: Duration,
pub execute: Duration,
pub format: Duration,
pub finalize: Duration,
pub egress_enqueue: Duration,
pub egress_queue: Duration,
pub egress_prepare: Duration,
pub egress_write: Duration,
pub egress: Duration,
pub frame_bytes: usize,
pub writer_queue_depth: usize,
pub writer_active_at_enqueue: bool,
pub writer_queue_was_full: bool,
pub writer_reserve_timeouts: u32,
pub total: Duration,
pub waiting_on: WaitingOn,
pub waiting_on_build_id: Option<String>,
pub wait_ms: u64,
pub intentional_wait: bool,
pub arg_shape: Option<String>,
pub edit_phases: Option<String>,
}Fields§
§cpu: ToolCallPhaseCpu§queue: Duration§setup: DurationFrom executor admission to the start of argument translation: the
route’s call policy (confinement admission, access-policy scope, the
formatter launch-policy handle) and repeat-breaker capture. Kept apart
from translate so per-call policy work is not mistaken for argument
translation.
translate: DurationFrom the start of argument translation to a dispatchable request: disabled-tool and database gates, hashline registration, and the translation itself.
execute: Duration§format: Duration§finalize: Duration§egress_enqueue: Duration§egress_queue: Duration§egress_prepare: Duration§egress_write: Duration§egress: Duration§frame_bytes: usize§writer_queue_depth: usize§writer_active_at_enqueue: bool§writer_queue_was_full: bool§writer_reserve_timeouts: u32§total: Duration§waiting_on: WaitingOn§waiting_on_build_id: Option<String>§wait_ms: u64§intentional_wait: boolExecution includes a requested wait, not just AFT’s own work.
arg_shape: Option<String>What the call was asked to do, without any content: the target kind
and, for edits, the match and replacement sizes and the outcome code.
See [crate::run_tool_call::tool_call_arg_shape].
edit_phases: Option<String>Milliseconds per edit pipeline step, when the call ran any.
Trait Implementations§
Source§impl Clone for ToolCallPhaseDurations
impl Clone for ToolCallPhaseDurations
Auto Trait Implementations§
impl Forget for ToolCallPhaseDurations
impl Freeze for ToolCallPhaseDurations
impl Move for ToolCallPhaseDurations
impl RefUnwindSafe for ToolCallPhaseDurations
impl Send for ToolCallPhaseDurations
impl Sync for ToolCallPhaseDurations
impl Unpin for ToolCallPhaseDurations
impl UnsafeUnpin for ToolCallPhaseDurations
impl UnwindSafe for ToolCallPhaseDurations
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more