Get counts for all generations
(&self)
| 244 | |
| 245 | /// Get counts for all generations |
| 246 | pub fn get_count(&self) -> (usize, usize, usize) { |
| 247 | ( |
| 248 | self.generations[0].count(), |
| 249 | self.generations[1].count(), |
| 250 | self.generations[2].count(), |
| 251 | ) |
| 252 | } |
| 253 | |
| 254 | /// Get statistics for all generations |
| 255 | pub fn get_stats(&self) -> [GcStats; 3] { |