Create a new cost estimate
()
| 91 | impl CostEstimate { |
| 92 | /// Create a new cost estimate |
| 93 | pub fn new() -> Self { |
| 94 | Self { |
| 95 | cpu_cost: 0.0, |
| 96 | io_cost: 0.0, |
| 97 | memory_cost: 0.0, |
| 98 | network_cost: 0.0, |
| 99 | total_time: 0.0, |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | /// Add another cost estimate to this one |
| 104 | pub fn add(&mut self, other: &CostEstimate) { |
nothing calls this directly
no outgoing calls
no test coverage detected