Home
last modified time | relevance | path

Searched refs:OS_NS_PER_CYCLE (Results 1 – 9 of 9) sorted by relevance

/kernel/liteos_a/kernel/base/misc/
Dswtmr_shellcmd.c132 UINT64 waitTime = ((base->waitTime / base->waitCount) * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsSwtmrTimeInfoShow()
133 UINT64 waitTimeMax = (base->waitTimeMax * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsSwtmrTimeInfoShow()
134 UINT64 runTime = ((base->runTime / base->runCount) * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsSwtmrTimeInfoShow()
135 UINT64 runTimeMax = (base->runTimeMax * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsSwtmrTimeInfoShow()
136 … UINT64 readyTime = ((base->readyTime / base->runCount) * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsSwtmrTimeInfoShow()
137 UINT64 readyTimeMax = (base->readyTimeMax * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsSwtmrTimeInfoShow()
/kernel/liteos_a/kernel/base/sched/
Dlos_statistics.c91 averTime = (averTime * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsShellShowTickResponse()
93 UINT64 timeMax = (schedData->responseTimeMax * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsShellShowTickResponse()
107 *runTime = (averRunTime * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in SchedDataGet()
112 *timeSlice = (averTimeSlice * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in SchedDataGet()
117 *pendTime = (averPendTime * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in SchedDataGet()
122 *schedWait = (averSchedWait * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in SchedDataGet()
Dlos_priority.c40 #define OS_SCHED_TIME_SLICES_MIN ((5000 * OS_SYS_NS_PER_US) / OS_NS_PER_CYCLE) /* 5ms */
41 …SCHED_TIME_SLICES_MAX ((LOSCFG_BASE_CORE_TIMESLICE_TIMEOUT * OS_SYS_NS_PER_US) / OS_NS_PER_CYCLE)
44 #define OS_TIME_SLICE_MIN (INT32)((50 * OS_SYS_NS_PER_US) / OS_NS_PER_CYCLE) /* 50us */
/kernel/liteos_m/components/debugtools/
Dlos_hwidump.c81 cycles = (irqData->allTime * OS_NS_PER_CYCLE) / (irqData->count * OS_SYS_NS_PER_US); in ShellCmdHwiInfoShow()
83 timeMax = (irqData->timeMax * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in ShellCmdHwiInfoShow()
/kernel/liteos_a/shell/full/src/cmds/
Dhwi_shellcmd.c73 cycles = (data->allTime * OS_NS_PER_CYCLE) / (data->count * OS_SYS_NS_PER_US); in ShellCmdHwiInfoShow()
75 timeMax = (data->timeMax * OS_NS_PER_CYCLE) / 1000; in ShellCmdHwiInfoShow()
/kernel/liteos_a/kernel/base/include/
Dlos_sys_pri.h90 #define OS_NS_PER_CYCLE (OS_SYS_NS_PER_SECOND / OS_SYS_CLOCK) macro
/kernel/liteos_m/kernel/include/
Dlos_tick.h146 #define OS_NS_PER_CYCLE (OS_SYS_NS_PER_SECOND / g_sysClock) macro
/kernel/liteos_a/syscall/
Dprocess_syscall.c294 timeSlice = timeSlice * OS_NS_PER_CYCLE; in SysSchedRRGetInterval()
/kernel/liteos_a/kernel/base/core/
Dlos_swtmr.c67 #define OS_SWTMR_PERIOD_TO_CYCLE(period) (((UINT64)(period) * OS_NS_PER_TICK) / OS_NS_PER_CYCLE)