* NAME: reduce_timer() * DESCRIPTION: carry timer fraction into seconds */
| 89 | * DESCRIPTION: carry timer fraction into seconds |
| 90 | */ |
| 91 | static |
| 92 | void reduce_timer(mad_timer_t *timer) |
| 93 | { |
| 94 | timer->seconds += timer->fraction / MAD_TIMER_RESOLUTION; |
| 95 | timer->fraction %= MAD_TIMER_RESOLUTION; |
| 96 | } |
| 97 | |
| 98 | /* |
| 99 | * NAME: gcd() |
no outgoing calls
no test coverage detected