Timer Interface

DESCRIPTION

SILC Timer interface provides a simple way to measure time intervals. The SILC Timer works with microsecond resolution, depending on platform.

The interface also provides utility functions to get currenet CPU tick count and to delay process/thread execution.

EXAMPLE

 SilcTimerStruct timer;

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

TABLE OF CONTENTS