| 455 | // RoundDownToNearest(13, 8) => 8 |
| 456 | template <typename T> |
| 457 | T RoundDownToNearest(T value, T divisor) { |
| 458 | return FloorOfRatio(value, divisor) * divisor; |
| 459 | } |
| 460 | |
| 461 | // Given a number of flops executed in an amount of time, produces a string that |
| 462 | // represents the throughput; |
no test coverage detected