# get_timer

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tmux.c#L247
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-get_timer/

```c
uint64_t get_timer(void)
```

## Called by

- [`control_check_age`](/en/tmux/3.2a/reference/c-function-control-c-control_check_age/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L442)
- [`control_write`](/en/tmux/3.2a/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L423)
- [`control_write_output`](/en/tmux/3.2a/reference/c-function-control_write_output/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L498)
- [`control_write_pending`](/en/tmux/3.2a/reference/c-function-control-c-control_write_pending/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L664)
- [`server_tidy_event`](/en/tmux/3.2a/reference/c-function-server-c-server_tidy_event/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server.c#L158)
- [`window_copy_search_marks`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_search_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L3310)

## Referenced declarations

- [`CLOCK_MONOTONIC`](/en/tmux/3.2a/reference/c-define-compat-h-clock_monotonic/) (constant)
- [`CLOCK_REALTIME`](/en/tmux/3.2a/reference/c-define-compat-h-clock_realtime/) (constant)
