silc_timer_synchronize

SYNOPSIS

    void silc_timer_synchronize(SilcTimer timer);

DESCRIPTION

Synchronizes the `timer'. This call will attempt to synchronize the timer for more accurate results with high resolution timing. Call this before you start using the `timer'.

EXAMPLE

    // Synchronize timer
    silc_timer_synchronize(&timer);
    silc_timer_start(&timer);
    ... time passes ...
    silc_timer_stop(&timer);
    silc_timer_value(&timer, &elapsed_sec, &elapsed_usec);