Home
last modified time | relevance | path

Searched refs:tick (Results 1 – 25 of 48) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributed_test_tools.cpp853 tick = tock;
863 TickTock(tick, duration);
891 TickTock(tick, duration);
907 TickTock(tick, duration);
911 TickTock(tick, duration);
926 TickTock(tick, duration);
930 TickTock(tick, duration);
945 TickTock(tick, duration);
949 TickTock(tick, duration);
964 TickTock(tick, duration);
[all …]
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-mini-basic-time.md104 UINT32 tick;
106 /* 10000ms转换为tick */
107 tick = LOS_MS2Tick(10000);
108 printf("tick = %d \n", tick);
110 /* 100tick转换为ms */
147 tick = 1000
H A Dkernel-small-basic-process-scheduler.md8 OpenHarmony 的调度算法将 tickless 机制天然嵌入到调度算法中,一方面使得系统具有更低的功耗,另一方面也使得 tick 中断按需响应,减少无用的 tick 中断响应,进一步提高系统…
H A Dkernel-small-bundles-share.md50 > - 使用VDSO机制得到的时间精度会与系统tick中断的精度保持一致,适用于对时间没有高精度要求且短时间内会高频触发clock_gettime或gettimeofday系统调用的场景,若有高精…
/ohos5.0/docs/en/design/ux-design/
H A Dmultimodal-tick-box.md3 A tick box is used to specify whether users agree to the description of an item.
11 - Generally, use a tick box for **Do not remind again** in USB connection scenarios or **Do not ask…
16 - Determine whether to start with a selected tick box by considering the impact on users. A selecte…
18 - Ensure that the tick box is an additional option of the main content or action on the screen.
20 - Do not start with a selected tick box to induce the enabling or disabling of a function. Otherwis…
25 For details about the development guide related to the tick box, see [Checkbox](../../application-d…
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-basic-time.md8 …eger. The period of an output pulse is a "clock tick". The system clock is also called time scale …
10 People use second or millisecond as the time unit, while the operating system uses tick. When opera…
43 | LOS_CyclePerTickGet | Obtains the number of cycles for each tick. |
84 2. Time statistics: obtain the number of cycles per tick, number of ticks since system startup, and…
104 UINT32 tick;
107 tick = LOS_MS2Tick(10000);
108 printf("tick = %d \n", tick);
147 tick = 1000
H A Dkernel-small-basic-time.md6 …generally defined as an integer or a long integer. The period of an output pulse is a "clock tick".
8 …or tick. The duration of a tick can be configured statically. People use second or millisecond as …
37 …he number of current ticks.<br>**LOS_CyclePerTickGet**: obtains the number of cycles of each tick.|
48 > - The system tick count can be obtained only after the system clock is enabled.
90 uwcyclePerTick = LOS_CyclePerTickGet(); // Obtain the number of cycles per tick.
H A Dkernel-small-basic-softtimer.md6tick interrupts. When the preset tick counter value has elapsed, the user-defined callback will be…
35 When a tick interrupt occurs, the tick interrupt handler scans the global timing list for expired t…
37 When the tick interrupt handler is complete, the software timer task (with the highest priority) wi…
H A Dkernel-mini-basic-soft.md6tick interrupts. When the preset tick counter value has elapsed, the user-defined callback will be…
33 When a tick interrupt occurs, the tick interrupt handler scans the global timing list for expired t…
35 When the tick interrupt handler is complete, the software timer task (with the highest priority) wi…
H A Dkernel-small-basic-process-scheduler.md8 …res lower power consumption and on-demand response to tick interrupts. This minimizes useless tick
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/
H A Dcpu_worker.cpp164 if (worker->tick % worker->global_interval == 0) { in GetTask()
165 worker->tick = 0; in GetTask()
202 worker->tick = 0; in TryPoll()
245 worker->tick++; in WorkerLooperDefault()
247 if (worker->tick % TRY_POLL_FREQ == 0) { in WorkerLooperDefault()
286 worker->tick = 1; in WorkerLooperDefault()
300 worker->tick = 0; in WorkerLooperDefault()
H A Dcpu_worker.h46 unsigned int tick = 0; variable
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Dschedule_io.rs155 let tick = curr_bit.get_by_mask(DRIVER_TICK) as u8; in poll_readiness() localVariable
156 Poll::Ready(ReadyEvent::new(tick, ready)) in poll_readiness()
164 let tick = status_bit.get_by_mask(DRIVER_TICK) as u8; in get_readiness() localVariable
165 ReadyEvent::new(tick, ready) in get_readiness()
193 tick: Tick, in set_readiness()
216 Self::handle_tick(&tick, &mut new_bit, &current_bit)?; in set_readiness()
230 match tick { in handle_tick()
338 let tick = status_bit.get_by_mask(DRIVER_TICK) as u8; in poll_init() localVariable
340 return Poll::Ready(Ok(ReadyEvent::new(tick, ready))); in poll_init()
356 let tick = status_bit.get_by_mask(DRIVER_TICK) as u8; in poll_init() localVariable
[all …]
H A Ddriver.rs57 tick: u8, field
183 .set_readiness(Some(token.0), Tick::Set(self.tick), |curr| curr | ready) in dispatch()
219 tick: DRIVER_TICK_INIT, in initialize()
240 self.tick = self.tick.wrapping_add(1); in drive()
242 if self.tick == COMPACT_INTERVAL { in drive()
308 tick: DRIVER_TICK_INIT, in initialize()
338 if new_tick == COMPACT_INTERVAL && driver.tick != new_tick { in ffrt_dispatch_event()
343 driver.tick = new_tick; in ffrt_dispatch_event()
H A Dready.rs32 tick: u8, field
159 pub fn new(tick: u8, ready: Ready) -> Self { in new()
160 ReadyEvent { tick, ready } in new()
164 self.tick in get_tick()
495 assert_eq!(ready_event.tick, 1u8); in ut_ready_event_new()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_image_animator.cpp213 uint8_t tick; in GetTickByTime() local
215 tick = 1; in GetTickByTime()
217 tick = time / DEFAULT_TASK_PERIOD; in GetTickByTime()
219 return tick; in GetTickByTime()
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/adapter/cmsis/
H A Dtime_adapter.c39 uint32 tick = osKernelGetTickCount(); in SAMGR_GetProcessTime() local
44 return (uint64)tick * MS_PER_SECOND / ticksPerSecond; in SAMGR_GetProcessTime()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-graphics-animation-guide.md6 UI动画通过task处理机制每个tick调用一下用户设置的callback函数来实现,具体实现为AnimatorManager、Animator、AnimatorCallback三个类实现。
8 - AnimatorManager:AnimatorManager为单例,在Init函数执行时将自己注册到系统task回调函数中,系统task机制保证每个tick会调用一下AnimatorManag…
12 - AnimatorCallback:具体每一个tick动画所要做的内容在AnimatorCallback类中实现,开发者需要自己实现Callback方法,动画执行时在Callback实现相应功能。
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_animation_manager.h55 void SetTicks(int32_t tick) in SetTicks() argument
57 ticks_ = tick; in SetTicks()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_kv_observer_snap_test.cpp1241 …auto tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now… variable
1253 …double duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick).coun…
1261tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now());
1268 duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick).count();
1276tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now());
1283 duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick).count();
1297 …auto tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now… in ObserverSnapBatchPerformance() local
1357tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now());
1363 duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick).count();
1392tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now()); in ObserverSnapTransactionPerformance()
[all …]
H A Ddistributeddb_kv_observer_test.cpp1333 auto duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick);
1341tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now());
1349 duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick);
1357tick = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::steady_clock::now());
1364 duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick);
1383 auto duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick); in KvObserverBatchPerformance()
1420 auto duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick);
1439 duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick);
1461 auto duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick); in KvObserverTransactionPerformance()
1507 auto duration = std::chrono::duration_cast<microseconds>(observer.GetOnChangeTime() - tick);
[all …]
/ohos5.0/docs/zh-cn/device-dev/reference/kernel/cmsis/
H A D_c_m_s_i_s-_r_t_o_s.md681 | ticks | 任务延时的tick数。 |
890 | timeout | 超时时间,单位:tick。 |
986 获取内核tick函数。
990 返回当前的tick
1002 获取内核tick频率函数。
1006 返回每秒的tick数。
1426 | timeout | 超时时间,单位:tick。在中断中调用时必须设置为0。 |
1609 | timeout | 超时时间,单位:tick。在中断中调用时必须设置为0。 |
1652 | timeout | 互斥锁获取超时时间,单位:tick。 |
1803 | timeout | 超时时间,单位:tick。在中断中调用时必须设置为0。 |
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dshadow_demo.js93 let tick = () => {
119 requestAnimationFrame(tick);
122 tick();
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dshadow2_demo.js95 let tick = () => {
121 requestAnimationFrame(tick);
124 tick();
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue.cpp621 int64_t tick = GetTickCount(); in DurationDumperStart() local
622 DmsContinueTime::GetInstance().SetDurationBegin(CONTINUE_TOTAL_TIME, tick); in DurationDumperStart()
623 DmsContinueTime::GetInstance().SetDurationBegin(CONTINUE_FIRST_TRANS_TIME, tick); in DurationDumperStart()
677 auto tick = GetTickCount(); in ExecuteContinueAbility() local
678 DmsContinueTime::GetInstance().SetDurationEnd(CONTINUE_FIRST_TRANS_TIME, tick); in ExecuteContinueAbility()
679 DmsContinueTime::GetInstance().SetSaveDataDurationBegin(tick); in ExecuteContinueAbility()
815 auto tick = GetTickCount(); in DurationDumperBeforeStartRemoteAbility() local
816 DmsContinueTime::GetInstance().SetSaveDataDurationEnd(tick); in DurationDumperBeforeStartRemoteAbility()
817 DmsContinueTime::GetInstance().SetDurationBegin(CONTINUE_DATA_TRANS_TIME, tick); in DurationDumperBeforeStartRemoteAbility()
818 DmsContinueTime::GetInstance().SetDurationBegin(CONTINUE_START_ABILITY_TIME, tick); in DurationDumperBeforeStartRemoteAbility()

12