35#if defined(LOG_TIMERS) && defined(FREECIV_DEBUG)
57#define TIMER_DEBUG TIMER_ACTIVE
59#define TIMER_DEBUG TIMER_IGNORE
64#define SPECLIST_TAG timer
65#define SPECLIST_TYPE struct timer
67#define timer_list_iterate(ARG_list, NAME_item) \
68 TYPED_LIST_ITERATE(struct timer, (ARG_list), NAME_item)
69#define timer_list_iterate_end LIST_ITERATE_END
struct timer * timer_new(enum timer_timetype type, enum timer_use use)
void timer_usleep_since_start(struct timer *t, long usec)
void timer_clear(struct timer *t)
bool timer_in_use(struct timer *t)
void timer_destroy(struct timer *t)
void timer_start(struct timer *t)
void timer_stop(struct timer *t)
double timer_read_seconds(struct timer *t)
struct timer * timer_renew(struct timer *t, enum timer_timetype type, enum timer_use use)