Struct llama_cpp_sys_2::llama_timings
source · #[repr(C)]pub struct llama_timings {
pub t_start_ms: f64,
pub t_end_ms: f64,
pub t_load_ms: f64,
pub t_sample_ms: f64,
pub t_p_eval_ms: f64,
pub t_eval_ms: f64,
pub n_sample: i32,
pub n_p_eval: i32,
pub n_eval: i32,
}
Fields§
§t_start_ms: f64
§t_end_ms: f64
§t_load_ms: f64
§t_sample_ms: f64
§t_p_eval_ms: f64
§t_eval_ms: f64
§n_sample: i32
§n_p_eval: i32
§n_eval: i32
Trait Implementations§
source§impl Clone for llama_timings
impl Clone for llama_timings
source§fn clone(&self) -> llama_timings
fn clone(&self) -> llama_timings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for llama_timings
impl Debug for llama_timings
source§impl PartialEq for llama_timings
impl PartialEq for llama_timings
source§fn eq(&self, other: &llama_timings) -> bool
fn eq(&self, other: &llama_timings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for llama_timings
impl StructuralPartialEq for llama_timings
Auto Trait Implementations§
impl RefUnwindSafe for llama_timings
impl Send for llama_timings
impl Sync for llama_timings
impl Unpin for llama_timings
impl UnwindSafe for llama_timings
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