pub struct JobSummary {
pub fingerprint: String,
pub command: String,
pub cwd: String,
pub runs: u32,
pub estimate_runs: u32,
pub last_ended_at_ms: i64,
pub learned: Option<JobProfile>,
}Expand description
What the history knows about one fingerprint.
Fields§
§fingerprint: StringNormalized command plus working directory.
command: StringLabel of the most recent run.
cwd: StringWorking directory of the most recent run.
runs: u32Stored runs.
estimate_runs: u32Runs the estimate is based on: the most recent ones without an overlapping lease.
last_ended_at_ms: i64End of the most recent run, in milliseconds since the Unix epoch.
learned: Option<JobProfile>What the runs needed: p90 of peak memory, of CPU and GPU load while busy, and of run
time. None when every run overlapped another lease.
Trait Implementations§
Source§impl Clone for JobSummary
impl Clone for JobSummary
Source§impl Debug for JobSummary
impl Debug for JobSummary
Source§impl<'de> Deserialize<'de> for JobSummary
impl<'de> Deserialize<'de> for JobSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JobSummary
impl PartialEq for JobSummary
Source§impl Serialize for JobSummary
impl Serialize for JobSummary
impl StructuralPartialEq for JobSummary
Auto Trait Implementations§
impl Forget for JobSummary
impl Freeze for JobSummary
impl Move for JobSummary
impl RefUnwindSafe for JobSummary
impl Send for JobSummary
impl Sync for JobSummary
impl Unpin for JobSummary
impl UnsafeUnpin for JobSummary
impl UnwindSafe for JobSummary
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