pub struct RunnableStats {
pub workspace_id: String,
pub runnable_path: String,
pub worker_group: String,
pub job_count: i32,
pub total_duration_ms: i32,
pub max_memory_peak: i32,
pub sum_memory_peak: i32,
pub memory_sample_count: i32,
pub total_cpu_ms: i32,
}Expand description
RunnableStats : Resource usage of the jobs of one runnable on one worker group. Memory and CPU are only known for jobs run as a subprocess; memory is the peak of the job’s main process.
Fields§
§workspace_id: String§runnable_path: Stringpath of the script or flow step; <adhoc> gathers previews and other runs without a stable path
worker_group: String§job_count: i32§total_duration_ms: i32§max_memory_peak: i32highest peak memory of a job, in kB
sum_memory_peak: i32sum of the peak memory of the jobs that have one, in kB
memory_sample_count: i32number of jobs that have a peak memory reading
total_cpu_ms: i32Implementations§
Source§impl RunnableStats
impl RunnableStats
Sourcepub fn new(
workspace_id: String,
runnable_path: String,
worker_group: String,
job_count: i32,
total_duration_ms: i32,
max_memory_peak: i32,
sum_memory_peak: i32,
memory_sample_count: i32,
total_cpu_ms: i32,
) -> RunnableStats
pub fn new( workspace_id: String, runnable_path: String, worker_group: String, job_count: i32, total_duration_ms: i32, max_memory_peak: i32, sum_memory_peak: i32, memory_sample_count: i32, total_cpu_ms: i32, ) -> RunnableStats
Resource usage of the jobs of one runnable on one worker group. Memory and CPU are only known for jobs run as a subprocess; memory is the peak of the job’s main process.
Trait Implementations§
Source§impl Clone for RunnableStats
impl Clone for RunnableStats
Source§impl Debug for RunnableStats
impl Debug for RunnableStats
Source§impl Default for RunnableStats
impl Default for RunnableStats
Source§impl<'de> Deserialize<'de> for RunnableStats
impl<'de> Deserialize<'de> for RunnableStats
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 RunnableStats
impl PartialEq for RunnableStats
Source§impl Serialize for RunnableStats
impl Serialize for RunnableStats
impl StructuralPartialEq for RunnableStats
Auto Trait Implementations§
impl Freeze for RunnableStats
impl RefUnwindSafe for RunnableStats
impl Send for RunnableStats
impl Sync for RunnableStats
impl Unpin for RunnableStats
impl UnsafeUnpin for RunnableStats
impl UnwindSafe for RunnableStats
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