pub enum CountUntil {
Exit,
Exec,
}Expand description
Where an instruction count ends.
valgrind loses the count of a process that execs: the new program
replaces the process valgrind was counting, and nothing reports what the
old one retired. A launcher — a version manager’s shim, env, a wrapper
that sets up and hands over — does all its work before that exec, so
counting it needs a count that stops there.
Variants§
Exit
Count the whole process, under cachegrind.
Exec
Count until the process execs another program, or until it exits if it never does, under callgrind. What the new program does is not counted.
Trait Implementations§
Source§impl Clone for CountUntil
impl Clone for CountUntil
impl Copy for CountUntil
Source§impl Debug for CountUntil
impl Debug for CountUntil
Source§impl Default for CountUntil
impl Default for CountUntil
Source§impl<'de> Deserialize<'de> for CountUntil
impl<'de> Deserialize<'de> for CountUntil
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
impl Eq for CountUntil
Source§impl PartialEq for CountUntil
impl PartialEq for CountUntil
impl StructuralPartialEq for CountUntil
Auto Trait Implementations§
impl Forget for CountUntil
impl Freeze for CountUntil
impl Move for CountUntil
impl RefUnwindSafe for CountUntil
impl Send for CountUntil
impl Sync for CountUntil
impl Unpin for CountUntil
impl UnsafeUnpin for CountUntil
impl UnwindSafe for CountUntil
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.