| 235 | |
| 236 | |
| 237 | void dStopwatchStop (dStopwatch *s) |
| 238 | { |
| 239 | unsigned long cc[2]; |
| 240 | serialize(); |
| 241 | getClockCount (cc); |
| 242 | double t1 = loadClockCount (s->cc); |
| 243 | double t2 = loadClockCount (cc); |
| 244 | s->time += t2-t1; |
| 245 | } |
| 246 | |
| 247 | |
| 248 | double dStopwatchTime (dStopwatch *s) |
no test coverage detected