MCPcopy Create free account
hub / github.com/5ocworkshop/bgraph / update

Method update

examples/demo/cls_simulation.rs:151–156  ·  view source on GitHub ↗

Advance simulation by one tick (non-btop panels).

(&mut self)

Source from the content-addressed store, hash-verified

149
150 /// Advance simulation by one tick (non-btop panels).
151 pub fn update(&mut self) {
152 self.tick += 1;
153 self.update_cpu();
154 self.update_network();
155 self.update_memory();
156 }
157
158 /// Advance btop simulation (call at 300ms intervals).
159 pub fn update_btop_panel(&mut self) {

Callers 1

mainFunction · 0.80

Calls 3

update_cpuMethod · 0.80
update_networkMethod · 0.80
update_memoryMethod · 0.80

Tested by

no test coverage detected