Searched refs:OS_NS_PER_CYCLE (Results 1 – 9 of 9) sorted by relevance
132 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()
91 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()
40 #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 */
81 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()
73 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()
90 #define OS_NS_PER_CYCLE (OS_SYS_NS_PER_SECOND / OS_SYS_CLOCK) macro
146 #define OS_NS_PER_CYCLE (OS_SYS_NS_PER_SECOND / g_sysClock) macro
294 timeSlice = timeSlice * OS_NS_PER_CYCLE; in SysSchedRRGetInterval()
67 #define OS_SWTMR_PERIOD_TO_CYCLE(period) (((UINT64)(period) * OS_NS_PER_TICK) / OS_NS_PER_CYCLE)