diff --git a/src/instruction.rs b/src/instruction.rs index f8880cb..08a27bb 100644 --- a/src/instruction.rs +++ b/src/instruction.rs @@ -25,7 +25,10 @@ impl InstructionCollector{ instruction:None } } - + #[inline] + pub fn time(&self)->Time{ + self.time + } pub fn collect(&mut self,instruction:Option>){ match instruction{ Some(unwrap_instruction)=>{