| 176 | } |
| 177 | |
| 178 | Timer Timer::withMilliseconds(int64_t millis, bool start) { |
| 179 | Timer timer; |
| 180 | timer.setMilliseconds(-millis); |
| 181 | if (start) |
| 182 | timer.start(); |
| 183 | return timer; |
| 184 | } |
| 185 | |
| 186 | Timer::Timer() : Clock(false) { |
| 187 | setTime(0.0); |
nothing calls this directly
no test coverage detected