Freeciv-3.2: timer Struct Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Data Fields
timer Struct Reference

## Data Fields

enum timer_timetype | type
enum timer_use | use
enum timer_state | state
double | sec
long | usec
union { |
clock_t c |
time_t t |
} | start |

## Detailed Description

Definition at line 81 of file timing.c.

## Field Documentation

## ◆ c

clock_t timer::c

Definition at line 98 of file timing.c.

## ◆ sec

double timer::sec

Definition at line 92 of file timing.c.

Referenced by timer_read_seconds(), and timer_stop().

## ◆ [union]

union { ... } timer::start

Referenced by map_view::map_view(), mr_idle::mr_idle(), fc_sidewidget::sblink(), timer_stop(), and timer_usleep_since_start().

## ◆ state

enum timer_state timer::state

Definition at line 85 of file timing.c.

Referenced by timer_read_seconds(), timer_stop(), and timer_usleep_since_start().

## ◆ t

time_t timer::t

Definition at line 104 of file timing.c.

Referenced by timer_clear(), timer_destroy(), timer_in_use(), timer_name(), timer_renew(), timer_start(), and timer_stop().

## ◆ type

enum timer_timetype timer::type

Definition at line 83 of file timing.c.

Referenced by timer_renew(), and timer_usleep_since_start().

## ◆ use

enum timer_use timer::use

Definition at line 84 of file timing.c.

Referenced by report_clock_failed(), report_time_failed(), timer_new(), timer_read_seconds(), timer_renew(), and timer_usleep_since_start().

## ◆ usec

long timer::usec

Definition at line 93 of file timing.c.

Referenced by timer_read_seconds(), and timer_stop().