| 86 | } |
| 87 | |
| 88 | int64_t TimeDelta::InMicroseconds() const { |
| 89 | if (is_max()) { |
| 90 | // Preserve max to prevent overflow. |
| 91 | return std::numeric_limits<int64_t>::max(); |
| 92 | } |
| 93 | return delta_; |
| 94 | } |
| 95 | |
| 96 | // Time ----------------------------------------------------------------------- |
| 97 |