Home
last modified time | relevance | path

Searched refs:OS_SYS_MS_PER_SECOND (Results 1 – 23 of 23) sorted by relevance

/kernel/liteos_m/kernel/include/
Dlos_tick.h106 #define OS_SYS_MS_PER_SECOND 1000 macro
148 #define OS_MS_PER_TICK (OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND)
517 #define OS_SYS_MS_PER_SECOND 1000 macro
611 return (UINT64)((cycle / (g_sysClock / OS_SYS_MS_PER_SECOND))); in OsCycle2MS()
/kernel/liteos_a/kernel/base/core/
Dlos_sys.c54 return ((UINT64)millisec * LOSCFG_BASE_CORE_TICK_PER_SECOND) / OS_SYS_MS_PER_SECOND; in LOS_MS2Tick()
59 return ((UINT64)tick * OS_SYS_MS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND; in LOS_Tick2MS()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsys_arch.c88 return (u32_t)((LOS_TickCountGet() * OS_SYS_MS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND); in sys_now()
196 …64 tick = ROUND_UP_DIV((UINT64)timeoutMs * LOSCFG_BASE_CORE_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_mbox_fetch()
267 …64 tick = ROUND_UP_DIV((UINT64)timeoutMs * LOSCFG_BASE_CORE_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_sem_wait()
/kernel/uniproton/src/core/kernel/timer/swtmr/
Dprt_swtmr_init.c87 …((DIV64_REMAIN((U64)g_tickModInfo.tickPerSecond * (createPara->interval), OS_SYS_MS_PER_SECOND)) != in OsSwTmrCreateTimerParaChk()
93 DIV64(OS_SYS_MS_PER_SECOND * ((U64)OS_MAX_U32), g_tickModInfo.tickPerSecond)) { // 溢出判断 in OsSwTmrCreateTimerParaChk()
140 …al = (U32)DIV64(((U64)g_tickModInfo.tickPerSecond * (createPara->interval)), OS_SYS_MS_PER_SECOND); in OsSwTmrCreateTimer()
Dprt_swtmr_minor.c256 remainMs = (U32)DIV64(((U64)remainTick * OS_SYS_MS_PER_SECOND), g_tickModInfo.tickPerSecond); in OsSwTmrQuery()
257 …if (DIV64_REMAIN((U64)remainTick * OS_SYS_MS_PER_SECOND, g_tickModInfo.tickPerSecond) != 0) { // … in OsSwTmrQuery()
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dsys_arch.c94 return (u32_t)((LOS_TickCountGet() * OS_SYS_MS_PER_SECOND) / in sys_now()
216 …64 tick = ROUND_UP_DIV((UINT64)timeoutMs * LOSCFG_BASE_CORE_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_mbox_fetch()
319 …64 tick = ROUND_UP_DIV((UINT64)timeoutMs * LOSCFG_BASE_CORE_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_sem_wait()
Dapi_shell.c432 timout_ms = ((end.tv_sec - start.tv_sec) * OS_SYS_MS_PER_SECOND + \ in OsPingFunc()
450 rtt = ((end.tv_sec - start.tv_sec) * OS_SYS_MS_PER_SECOND + \ in OsPingFunc()
/kernel/liteos_m/kal/posix/src/
Dtime.c511 sec = currentTime / OS_SYS_MS_PER_SECOND; in time()
735 tv->tv_sec = currentTime / OS_SYS_MS_PER_SECOND; in gettimeofday()
736 tv->tv_usec = (currentTime % OS_SYS_MS_PER_SECOND) * OS_SYS_MS_PER_SECOND; in gettimeofday()
797 g_rtcTimeBase = tv->tv_sec * OS_SYS_MS_PER_SECOND + tv->tv_usec / OS_SYS_MS_PER_SECOND; in settimeofday()
Dpoll.c180 last = (INT32)((curTime.tv_sec - startTime.tv_sec) * OS_SYS_MS_PER_SECOND + in PollTimedWait()
181 … (curTime.tv_nsec - startTime.tv_nsec) / (OS_SYS_NS_PER_SECOND / OS_SYS_MS_PER_SECOND)); in PollTimedWait()
Dtime_internal.h51 #define OS_SYS_MS_PER_SECOND 1000 macro
/kernel/uniproton/src/net/lwip-2.1/src/
Dsys_arch.c81 return (U32)(((U32)PRT_TickGetCount() * OS_SYS_MS_PER_SECOND) / OS_TICK_PER_SECOND); in sys_now()
204 U64 tick = ROUND_UP_DIV((U64)timeoutMs * OS_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_mbox_fetch()
306 U64 tick = ROUND_UP_DIV((U64)timeoutMs * OS_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_sem_wait()
/kernel/liteos_a/kernel/base/include/
Dlos_sys_pri.h48 #define OS_SYS_MS_PER_SECOND 1000 macro
/kernel/liteos_m/kernel/src/
Dlos_tick.c321 return ((UINT64)millisec * LOSCFG_BASE_CORE_TICK_PER_SECOND) / OS_SYS_MS_PER_SECOND; in LOS_MS2Tick()
333 return ((UINT64)ticks * OS_SYS_MS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND; in LOS_Tick2MS()
357 temp = tmpCpuTick / ((DOUBLE)g_sysClock / OS_SYS_MS_PER_SECOND); in OsCpuTick2MS()
Dlos_swtmr.c107 … (UINT32)((tick * OS_SYS_MS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND)); in OsSwtmrTask()
/kernel/uniproton/src/core/kernel/sys/
Dprt_sys_init.c62 return DIV64(cycle, g_systemClock / OS_SYS_MS_PER_SECOND); in PRT_ClkCycle2Ms()
/kernel/uniproton/src/include/uapi/
Dprt_sys.h137 #define OS_SYS_MS_PER_SECOND 1000 macro
/kernel/liteos_m/testsuites/sample/kernel/hwi/
Dit_los_hwi_036.c44 delayTicks = delayMs * LOSCFG_BASE_CORE_TICK_PER_SECOND / OS_SYS_MS_PER_SECOND; in Testcase()
/kernel/uniproton/src/core/kernel/include/
Dprt_sys_external.h42 #define OS_MS2CYCLE(ms, clock) DIV64(((ms) * (U64)(clock)), OS_SYS_MS_PER_SECOND) /* 毫秒转换成cycle */
/kernel/liteos_m/testsuites/sample/kernel/swtmr/
DIt_los_swtmr_080.c52 delayTicks = delayMs * LOSCFG_BASE_CORE_TICK_PER_SECOND / OS_SYS_MS_PER_SECOND; in Testcase()
/kernel/liteos_a/testsuites/kernel/include/
DosTest.h119 #define LOS_MS_PER_TICK (OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND)
/kernel/liteos_a/testsuites/unittest/common/include/
DosTest.h104 #define LOS_MS_PER_TICK (OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND)
/kernel/liteos_m/testsuites/unittest/posix/src/time/
Dtime_func_test_01.c578 const int msPerClock = OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND;
/kernel/liteos_a/kernel/extended/power/
Dlos_pm.c41 #define OS_MS_PER_TICK (OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND)