tests/timer.c
double timer_read(mtimer_t *timer)
{
    if(timer->started && !timer->stopped)
        __timer_update(timer);

    return timer->elapsed_time;
}
/* Function to read the elapsed time value. It does not stop the
   internal timer. */
Function to read the elapsed time value. It does not stop the
internal timer.
Function to read the elapsed time value . It does not stop the internal timer .
double timer_read(mtimer_t *timer)
{
    if(timer->started && !timer->stopped)
        __timer_update(timer);
    return timer->elapsed_time;
}
double timer_read ( mtimer_t * timer ) { if ( timer -> started && ! timer -> stopped ) __timer_update ( timer ) ; return timer -> elapsed_time ; }
Function to read the elapsed time value.
Function to read the elapsed time value .