Pool utilization ratio (0.0 = empty, 1.0 = full).
(&self)
| 130 | |
| 131 | /// Pool utilization ratio (0.0 = empty, 1.0 = full). |
| 132 | pub fn utilization(&self) -> f32 { |
| 133 | 1.0 - (self.available() as f32 / self.pool_size as f32) |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | /// Lock-free return queue for cross-plane slab recycling. |
no test coverage detected