36#if defined(LOG_TIMERS) && defined(FREECIV_DEBUG)
59#define TIMER_DEBUG TIMER_ACTIVE
61#define TIMER_DEBUG TIMER_IGNORE
66#define SPECLIST_TAG timer
67#define SPECLIST_TYPE struct timer
69#define timer_list_iterate(ARG_list, NAME_item) \
70 TYPED_LIST_ITERATE(struct timer, (ARG_list), NAME_item)
71#define timer_list_iterate_end LIST_ITERATE_END
void timer_usleep_since_start(struct timer *t, long usec) fc__attribute((nonnull(1)))
void timer_start(struct timer *t) fc__attribute((nonnull(1)))
double timer_read_seconds(struct timer *t) fc__attribute((nonnull(1)))
void timer_clear(struct timer *t) fc__attribute((nonnull(1)))
bool timer_in_use(struct timer *t)
void timer_destroy(struct timer *t)
struct timer * timer_new(enum timer_timetype type, enum timer_use use, const char *name)
void timer_stop(struct timer *t) fc__attribute((nonnull(1)))
struct timer * timer_renew(struct timer *t, enum timer_timetype type, enum timer_use use, const char *name)