MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / increment_instret

Method increment_instret

crates/virtual-machine/src/cpu/csr.rs:301–303  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

299 }
300
301 pub fn increment_instret(&mut self) {
302 self.instret = self.instret.wrapping_add(1);
303 }
304
305 pub fn increment_cycle(&mut self) {
306 self.cycle = self.cycle.wrapping_add(1);

Callers 4

stage_wbMethod · 0.80
handle_mretMethod · 0.80
handle_sretMethod · 0.80
csr_instret_incrementFunction · 0.80

Calls

no outgoing calls

Tested by 1

csr_instret_incrementFunction · 0.64