# window_clock_start_timer

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-clock.c#L127
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window-clock-c-window_clock_start_timer/

```c
static void window_clock_start_timer(struct window_mode_entry *wme)
```

## Parameters

- `wme` (`struct window_mode_entry *`)

## Called by

- [`window_clock_init`](/en/tmux/latest/reference/c-function-window-clock-c-window_clock_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-clock.c#L182)
- [`window_clock_timer_callback`](/en/tmux/latest/reference/c-function-window-clock-c-window_clock_timer_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-clock.c#L167)

## Referenced declarations

- [`CLOCK_REALTIME`](/en/tmux/latest/reference/c-define-compat-h-clock_realtime/) (constant)
- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_clock_mode_data.timer`](/en/tmux/latest/reference/c-struct-window_clock_mode_data-timer/) (attribute)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
