#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include "misc.h"
#include "timer.h"
Go to the source code of this file.
◆ SECONDS_BETWEEN_GETTIMEOFDAY_SYNCH
#define SECONDS_BETWEEN_GETTIMEOFDAY_SYNCH 1.65 |
◆ timer_add()
struct timer* timer_add |
( |
double |
freq, |
|
|
void(*)(struct timer *timer, void *extra) |
timer_tick, |
|
|
void * |
extra |
|
) |
| |
◆ timer_init()
◆ timer_remove()
void timer_remove |
( |
struct timer * |
t | ) |
|
◆ timer_start()
void timer_start |
( |
void |
| ) |
|
◆ timer_stop()
◆ timer_update_frequency()
void timer_update_frequency |
( |
struct timer * |
t, |
|
|
double |
new_freq |
|
) |
| |
◆ timer_start_tv
struct timeval timer_start_tv |