1# timer.h
2
3
4## Overview
5
6The **timer.h** file declares the timer interfaces in C.
7
8**System capability**: SystemCapability.Resourceschedule.Ffrt.Core
9
10**Since**: 12
11
12**Related module**: [FFRT](_f_f_r_t.md)
13
14
15## Summary
16
17
18### Functions
19
20| Name| Description|
21| -------- | -------- |
22| FFRT_C_API [ffrt_timer_t](_f_f_r_t.md#ffrt_timer_t)[ffrt_timer_start](_f_f_r_t.md#ffrt_timer_start) ([ffrt_qos_t](_f_f_r_t.md) qos, uint64_t timeout, void\* data, [ffrt_timer_cb](_f_f_r_t.md#ffrt_timer_cb) cb, bool repeat) | Starts the timer. |
23| FFRT_C_API int [ffrt_timer_stop](_f_f_r_t.md#ffrt_timer_stop) ([ffrt_qos_t](_f_f_r_t.md) qos, [ffrt_timer_t](_f_f_r_t.md#ffrt_timer_t) handle) | Stops the timer. |
24