/kernel/liteos_m/kernel/include/ |
D | los_tick.h | 106 #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/ |
D | los_sys.c | 54 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/ |
D | sys_arch.c | 88 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/ |
D | prt_swtmr_init.c | 87 …((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()
|
D | prt_swtmr_minor.c | 256 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/ |
D | sys_arch.c | 94 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()
|
D | api_shell.c | 432 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/ |
D | time.c | 511 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()
|
D | poll.c | 180 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()
|
D | time_internal.h | 51 #define OS_SYS_MS_PER_SECOND 1000 macro
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
D | sys_arch.c | 81 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/ |
D | los_sys_pri.h | 48 #define OS_SYS_MS_PER_SECOND 1000 macro
|
/kernel/liteos_m/kernel/src/ |
D | los_tick.c | 321 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()
|
D | los_swtmr.c | 107 … (UINT32)((tick * OS_SYS_MS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND)); in OsSwtmrTask()
|
/kernel/uniproton/src/core/kernel/sys/ |
D | prt_sys_init.c | 62 return DIV64(cycle, g_systemClock / OS_SYS_MS_PER_SECOND); in PRT_ClkCycle2Ms()
|
/kernel/uniproton/src/include/uapi/ |
D | prt_sys.h | 137 #define OS_SYS_MS_PER_SECOND 1000 macro
|
/kernel/liteos_m/testsuites/sample/kernel/hwi/ |
D | it_los_hwi_036.c | 44 delayTicks = delayMs * LOSCFG_BASE_CORE_TICK_PER_SECOND / OS_SYS_MS_PER_SECOND; in Testcase()
|
/kernel/uniproton/src/core/kernel/include/ |
D | prt_sys_external.h | 42 #define OS_MS2CYCLE(ms, clock) DIV64(((ms) * (U64)(clock)), OS_SYS_MS_PER_SECOND) /* 毫秒转换成cycle */
|
/kernel/liteos_m/testsuites/sample/kernel/swtmr/ |
D | It_los_swtmr_080.c | 52 delayTicks = delayMs * LOSCFG_BASE_CORE_TICK_PER_SECOND / OS_SYS_MS_PER_SECOND; in Testcase()
|
/kernel/liteos_a/testsuites/kernel/include/ |
D | osTest.h | 119 #define LOS_MS_PER_TICK (OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND)
|
/kernel/liteos_a/testsuites/unittest/common/include/ |
D | osTest.h | 104 #define LOS_MS_PER_TICK (OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND)
|
/kernel/liteos_m/testsuites/unittest/posix/src/time/ |
D | time_func_test_01.c | 578 const int msPerClock = OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND;
|
/kernel/liteos_a/kernel/extended/power/ |
D | los_pm.c | 41 #define OS_MS_PER_TICK (OS_SYS_MS_PER_SECOND / LOSCFG_BASE_CORE_TICK_PER_SECOND)
|