# get_timer

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.c#L271
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-get_timer/

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

## Called by

- [`control_check_age`](/en/tmux/3.7c/reference/c-function-control-c-control_check_age/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L448)
- [`control_write`](/en/tmux/3.7c/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L429)
- [`control_write_output`](/en/tmux/3.7c/reference/c-function-control_write_output/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L504)
- [`control_write_pending`](/en/tmux/3.7c/reference/c-function-control-c-control_write_pending/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L676)
- [`format_check_time`](/en/tmux/3.7c/reference/c-function-format-c-format_check_time/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4206)
- [`format_expand`](/en/tmux/3.7c/reference/c-function-format_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L5821)
- [`format_expand_time`](/en/tmux/3.7c/reference/c-function-format_expand_time/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L5808)
- [`input_make_request`](/en/tmux/3.7c/reference/c-function-input-c-input_make_request/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3411)
- [`input_request_timer_callback`](/en/tmux/3.7c/reference/c-function-input-c-input_request_timer_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3379)
- [`server_tidy_event`](/en/tmux/3.7c/reference/c-function-server-c-server_tidy_event/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L161)
- [`window_copy_search_marks`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_search_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4470)

## Referenced declarations

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