Advance simulation by one tick (non-btop panels).
(&mut self)
| 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) { |
no test coverage detected