Lines Matching refs:Timer
1 # Timer chapter
4 This is a timer manager. After "Timer" started, users can register several timed events, which can …
6 - Timer is a millisecond-level high-precision timer, which is generally used for short-term timing …
8 - As a timer in user mode, Timer does not have the ability to wake up in the sleep state, and canno…
13 ### OHOS::Utils::Timer
17 | | **Timer**(const std::string& name, int timeoutMs = 1000)<br>Construct Timer. If performance-sen…
18 | virtual | **~Timer**() |
20 | virtual uint32_t | **Setup**()<br>Set up "Timer". Do not set up repeatly before shutdown. |
21 …"Timer". There are two modes to shut the "Timer" down: blocking and unblocking. Blocking mode will…
35 1. Timer should be set up(via Setup()) before use, and shutdown(via Shutdown()) before its deconstr…
37 1. Timer should be set up first and then shutdown. Avoid delegating them to different threads since…
39 1. Set up Timer again would not reset this Timer, but return `TIMER_ERR_INVALID_VALUE`. If a reset …
41 1. Parameter in Shutdown() determines whether the thread in Timer would be detach or join. (True(de…
43 1. If the system sleeps during the scheduled task, the Timer cannot wake up automatically during th…
46 1. The unregister of Timer has a critical situation. The deregistration of the Timer may trigger th…
50 Timer timer("timer_test");
66 Timer timer("timer_test");