pub struct ChildProcess {
pub command: Option<String>,
pub file: String,
pub line: u32,
pub function: String,
pub ms: f64,
pub share: f64,
}Expand description
Time a function in user code (the repository or the workload script) spent waiting on child
processes it started (execSync, subprocess.run, os.system…), itself or through a
library.
Fields§
§command: Option<String>The program, when the call passes it as a literal (sleep for execSync("sleep 0.2")).
file: String§line: u32The call’s line when the function makes one such call, else the function’s line.
function: StringThe function that makes the call.
ms: f64Percent of the whole run.
Trait Implementations§
Source§impl Clone for ChildProcess
impl Clone for ChildProcess
Source§impl Debug for ChildProcess
impl Debug for ChildProcess
Auto Trait Implementations§
impl Forget for ChildProcess
impl Freeze for ChildProcess
impl Move for ChildProcess
impl RefUnwindSafe for ChildProcess
impl Send for ChildProcess
impl Sync for ChildProcess
impl Unpin for ChildProcess
impl UnsafeUnpin for ChildProcess
impl UnwindSafe for ChildProcess
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