Return current time in milliseconds */
| 34 | |
| 35 | /* Return current time in milliseconds */ |
| 36 | static double now_ms(void) { |
| 37 | struct timeval tv; |
| 38 | gettimeofday(&tv, NULL); |
| 39 | return tv.tv_sec * 1000. + tv.tv_usec / 1000.; |
| 40 | } |
| 41 | |
| 42 | /* We're going to perform computations for every pixel of the target |
| 43 | * bitmap. floating-point operations are very slow on ARMv5, and not |
no outgoing calls
no test coverage detected