Home
last modified time | relevance | path

Searched refs:UINT64 (Results 1 – 25 of 184) sorted by relevance

12345678

/kernel/liteos_a/kernel/base/sched/
Dlos_statistics.c38 UINT64 responseTime;
39 UINT64 responseTimeMax;
40 UINT64 count;
60 UINT64 currTime = OsGetCurrSchedTimeCycle(); in OsSchedDebugRecordData()
62 UINT64 usedTime = currTime - rq->responseTime; in OsSchedDebugRecordData()
88 UINT64 averTime = 0; in OsShellShowTickResponse()
93 UINT64 timeMax = (schedData->responseTimeMax * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in OsShellShowTickResponse()
103 STATIC VOID SchedDataGet(const LosTaskCB *taskCB, UINT64 *runTime, UINT64 *timeSlice, in SchedDataGet()
104 UINT64 *pendTime, UINT64 *schedWait) in SchedDataGet()
107 UINT64 averRunTime = taskCB->schedStat.runTime / taskCB->schedStat.switchCount; in SchedDataGet()
[all …]
/kernel/liteos_m/kernel/include/
Dlos_sortlink.h51 UINT64 responseTime;
64 #define OS_SORT_LINK_INVALID_TIME ((UINT64)-1)
68 #define OS_SORT_LINK_UINT64_MAX ((UINT64)-1)
70 STATIC INLINE UINT64 OsSortLinkGetRemainTime(UINT64 currTime, const SortLinkList *targetSortList) in OsSortLinkGetRemainTime()
84 STATIC INLINE UINT64 GetSortLinkNextExpireTime(SortLinkAttribute *sortHead, UINT64 startTime, UINT3… in GetSortLinkNextExpireTime()
101 STATIC INLINE UINT64 OsGetNextExpireTime(UINT64 startTime, UINT32 tickPrecision) in OsGetNextExpireTime()
103 UINT64 taskExpireTime = GetSortLinkNextExpireTime(&g_taskSortLink, startTime, tickPrecision); in OsGetNextExpireTime()
105 UINT64 swtmrExpireTime = GetSortLinkNextExpireTime(&g_swtmrSortLink, startTime, tickPrecision); in OsGetNextExpireTime()
107 UINT64 swtmrExpireTime = taskExpireTime; in OsGetNextExpireTime()
114 VOID OsAdd2SortLink(SortLinkList *node, UINT64 startTime, UINT32 waitTicks, SortLinkType type);
[all …]
Dlos_tick.h100 extern UINT64 LOS_SysCycleGet(VOID);
160 #define OS_SYS_TICK_TO_CYCLE(ticks) (((UINT64)(ticks) * g_sysClock) / LOSCFG_BASE_CORE_TICK_PER_SEC…
162 #define OS_SYS_CYCLE_TO_TICK(cycle) ((((UINT64)(cycle)) * LOSCFG_BASE_CORE_TICK_PER_SECOND) / g_sys…
258 UINT64 OsTickTimerReload(UINT64 period);
261 VOID OsTickTimerBaseReset(UINT64 currTime);
266 VOID OsTickSysTimerStartTimeSet(UINT64 currTime);
268 STATIC INLINE UINT64 OsTimeConvertFreq(UINT64 time, UINT32 oldFreq, UINT32 newFreq) in OsTimeConvertFreq()
338 extern UINT64 LOS_TickCountGet(VOID);
437 extern VOID LOS_UDelay(UINT64 microseconds);
475 extern UINT64 LOS_CurrNanosec(VOID);
[all …]
/kernel/liteos_a/kernel/base/include/
Dlos_statistics_pri.h44 UINT64 allRuntime;
45 UINT64 runTime;
46 UINT64 switchCount; /* sched switch count */
47 UINT64 timeSliceRealTime; /* The actual usage time of each time slice */
48 UINT64 timeSliceTime;
49 UINT64 timeSliceCount; /* The number of time slices allocated */
50 UINT64 pendTime;
51 UINT64 pendCount;
52 UINT64 waitSchedTime; /* task status is ready to running times */
53 UINT64 waitSchedCount;
[all …]
Dlos_swtmr_pri.h109 extern VOID OsSwtmrResponseTimeReset(UINT64 startTime);
118 UINT64 startTime;
119 UINT64 waitTimeMax;
120 UINT64 waitTime;
121 UINT64 waitCount;
122 UINT64 readyStartTime;
123 UINT64 readyTime;
124 UINT64 readyTimeMax;
125 UINT64 runTime;
126 UINT64 runTimeMax;
[all …]
Dlos_sortlink_pri.h47 UINT64 responseTime;
59 #define OS_SORT_LINK_INVALID_TIME ((UINT64)-1)
70 STATIC INLINE UINT64 OsGetSortLinkNextExpireTime(SortLinkAttribute *sortHeader, UINT64 startTime, U… in OsGetSortLinkNextExpireTime()
106 VOID OsAdd2SortLink(SortLinkAttribute *head, SortLinkList *node, UINT64 responseTime, UINT16 idleCp…
108 UINT64 OsSortLinkGetTargetExpireTime(UINT64 currTime, const SortLinkList *targetSortList);
109 UINT64 OsSortLinkGetNextExpireTime(UINT64 currTime, const SortLinkAttribute *sortLinkHeader);
110 UINT32 OsSortLinkAdjustNodeResponseTime(SortLinkAttribute *head, SortLinkList *node, UINT64 respons…
/kernel/liteos_a/kernel/extended/dynload/include/
Dlos_ld_elf_pri.h68 UINT64 elfEntry; /* Entry point virtual address */
69 UINT64 elfPhoff; /* Program header table file offset */
70 UINT64 elfShoff; /* Section header table file offset */
197 UINT64 offset; /* Segment file offset */
198 UINT64 vAddr; /* Segment virtual address */
199 UINT64 phyAddr; /* Segment physical address */
200 UINT64 fileSize; /* Segment size in file */
201 UINT64 memSize; /* Segment size in memory */
202 UINT64 align; /* Segment alignment */
238 UINT64 shFlags; /* Section flags */
[all …]
/kernel/liteos_a/fs/rootfs/
Dlos_rootfs.c81 UINT64 patchStartCnt = userAddr / EMMC_SEC_SIZE; in AddEmmcParts()
82 UINT64 patchSizeCnt = PATCH_SIZE / EMMC_SEC_SIZE; in AddEmmcParts()
91 UINT64 storageStartCnt = userAddr / EMMC_SEC_SIZE; in AddEmmcParts()
92 UINT64 storageSizeCnt = userSize / EMMC_SEC_SIZE; in AddEmmcParts()
93 UINT64 userdataStartCnt = storageStartCnt + storageSizeCnt; in AddEmmcParts()
94 UINT64 userdataSizeCnt = emmcDisk->sector_count - userdataStartCnt; in AddEmmcParts()
125 STATIC INT32 AddPartitions(CHAR *dev, UINT64 rootAddr, UINT64 rootSize, UINT64 userAddr, UINT64 use… in AddPartitions()
159 STATIC INT32 ParseRootArgs(CHAR **dev, CHAR **fstype, UINT64 *rootAddr, UINT64 *rootSize, UINT32 *m… in ParseRootArgs()
202 STATIC INT32 ParseUserArgs(UINT64 rootAddr, UINT64 rootSize, UINT64 *userAddr, UINT64 *userSize) in ParseUserArgs()
310 STATIC INT32 CheckValidation(UINT64 rootAddr, UINT64 rootSize, UINT64 userAddr, UINT64 userSize) in CheckValidation()
[all …]
/kernel/liteos_m/kernel/src/
Dlos_tick.c47 LITE_OS_SEC_BSS STATIC UINT64 g_tickTimerStartTime;
50 STATIC UINT64 g_tickTimerBase;
51 STATIC UINT64 g_oldTickTimerBase;
65 LITE_OS_SEC_TEXT VOID OsTickTimerBaseReset(UINT64 currTime) in OsTickTimerBaseReset()
82 LITE_OS_SEC_TEXT UINT64 OsTickTimerReload(UINT64 period) in OsTickTimerReload()
90 LITE_OS_SEC_TEXT UINT64 LOS_SysCycleGet(VOID) in LOS_SysCycleGet()
97 UINT64 time = g_sysTickTimer->getCycle(&period); in LOS_SysCycleGet()
98 UINT64 schedTime = g_tickTimerBase + time; in LOS_SysCycleGet()
251 UINT64 currTimeCycle = LOS_SysCycleGet(); in LOS_SysTickClockFreqAdjust()
279 LITE_OS_SEC_TEXT_MINOR VOID OsTickSysTimerStartTimeSet(UINT64 currTime) in OsTickSysTimerStartTimeSet()
[all …]
/kernel/liteos_a/drivers/mtd/multi_partition/include/
Dmtd_dev.h51 UINT64 size;
54 int (*erase)(struct MtdDev *mtd, UINT64 start, UINT64 len, UINT64 *failAddr);
55 int (*read)(struct MtdDev *mtd, UINT64 start, UINT64 len, const char *buf);
56 int (*write)(struct MtdDev *mtd, UINT64 start, UINT64 len, const char *buf);
/kernel/liteos_a/kernel/extended/plimit/
Dlos_schedlimit.h46 UINT64 startTime;
47 UINT64 endTime;
48 UINT64 period;
49 UINT64 quota;
50 UINT64 allRuntime;
57 VOID OsSchedLimitUpdateRuntime(LosTaskCB *runTask, UINT64 currTime, INT32 incTime);
58 UINT32 OsSchedLimitSetPeriod(ProcSchedLimiter *schedLimit, UINT64 value);
59 UINT32 OsSchedLimitSetQuota(ProcSchedLimiter *schedLimit, UINT64 value);
/kernel/liteos_a/arch/arm/arm/src/
Darm_generic_timer.c67 #define WRITE_TIMER_REG32(reg, val) AARCH64_SYSREG_WRITE(reg, (UINT64)(val))
105 STATIC_INLINE UINT64 TimerCvalRead(VOID) in TimerCvalRead()
110 STATIC_INLINE VOID TimerCvalWrite(UINT64 cval) in TimerCvalWrite()
120 UINT64 HalClockGetCycles(VOID) in HalClockGetCycles()
122 UINT64 cntpct; in HalClockGetCycles()
151 UINT64 cycles = (UINT64)usecs * g_sysClock / OS_SYS_US_PER_SECOND; in HalDelayUs()
152 UINT64 deadline = HalClockGetCycles() + cycles; in HalDelayUs()
159 DEPRECATED UINT64 hi_sched_clock(VOID) in hi_sched_clock()
166 UINT64 cval = TimerCvalRead(); in HalClockGetTickTimerCycles()
167 UINT64 cycles = HalClockGetCycles(); in HalClockGetTickTimerCycles()
[all …]
/kernel/liteos_m/kal/posix/src/
Dtime_internal.h97 UINT64 tick, ns; in OsTimeSpec2Tick()
99 ns = (UINT64)tp->tv_sec * OS_SYS_NS_PER_SECOND + tp->tv_nsec; in OsTimeSpec2Tick()
110 UINT64 ns = ((UINT64)tick * OS_SYS_NS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND; in OsTick2TimeSpec()
115 STATIC INLINE INT32 OsGetTickTimeFromNow(const struct timespec *ts, clockid_t clockId, UINT64 *absT… in OsGetTickTimeFromNow()
118 UINT64 nseconds; in OsGetTickTimeFromNow()
119 UINT64 currTime; in OsGetTickTimeFromNow()
127 currTime = (UINT64)tp.tv_sec * OS_SYS_NS_PER_SECOND + tp.tv_nsec; in OsGetTickTimeFromNow()
128 nseconds = (UINT64)ts->tv_sec * OS_SYS_NS_PER_SECOND + ts->tv_nsec; in OsGetTickTimeFromNow()
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
Dlos_timer.c42 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
43 STATIC UINT64 SysTickCycleGet(UINT32 *period);
82 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
84 UINT64 timeMax = (UINT64)LOSCFG_BASE_CORE_TICK_RESPONSE_MAX - 1; in SysTickReload()
85 UINT64 timer; in SysTickReload()
104 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
/kernel/liteos_m/components/cpup/
Dlos_cpup.h135 UINT64 allTime; /**< Total running time */
136 UINT64 startTime; /**< Time before a task is invoked */
137 UINT64 historyTime[OS_CPUP_HISTORY_RECORD_NUM]; /**< Historical running time */
146 UINT64 allTime; /**< Total running time */
147 UINT64 startTime; /**< Time before a task is invoked */
148 UINT64 timeMax; /**< Irq samples count */
149 UINT64 count; /**< Irq samples count */
150 UINT64 historyTime[OS_CPUP_HISTORY_RECORD_NUM]; /**< Historical running time */
/kernel/liteos_a/drivers/block/disk/include/
Ddisk.h96 #define LD_QWORD_DISK(ptr) ((UINT64)(((UINT64)LD_DWORD_DISK(&(ptr)[FOURTH_BYTE]) << (BIT_FOR_BYTE…
186 UINT64 sector_start; /* disk start sector */
187 UINT64 sector_count; /* disk sector number */
207 UINT64 sector_start; /*
211 UINT64 sector_count; /*
220 UINT64 sector_start;
221 UINT64 sector_count;
225 UINT64 sector_count;
321 INT32 los_disk_read(INT32 drvID, VOID *buf, UINT64 sector, UINT32 count, BOOL useRead);
349 INT32 los_disk_write(INT32 drvID, const VOID *buf, UINT64 sector, UINT32 count);
[all …]
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_timer.c40 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
41 STATIC UINT64 SysTickCycleGet(UINT32 *period);
81 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
94 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
99 static UINT64 tickCycle = 0; in SysTickCycleGet()
109 tickCycle = (((UINT64)tickCycleH) << SHIFT_32_BIT) | tickCycleL; in SysTickCycleGet()
/kernel/liteos_a/fs/vfs/include/bcache/
Dbcache.h67 UINT64 num; /* block number */
81 UINT64); /* starting block number */
86 UINT64); /* starting block number */
100 UINT64 blockCount; /* block count of the disk */
105 UINT64 curBlockNum; /* current preread block number */
119 UINT64 sumNum; /* block num sum val */
151 UINT64 pos,
181 UINT64 pos);
233 UINT64 blockCount);
/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup_pri.h50 UINT64 allTime; /**< Total running time */
51 UINT64 startTime; /**< Time before a task is invoked */
52UINT64 historyTime[OS_CPUP_HISTORY_RECORD_NUM + 1]; /**< Historical running time, the last one sav…
62 UINT64 allTime;
63 UINT64 timeMax;
64 UINT64 count;
/kernel/liteos_m/arch/risc-v/nuclei/gcc/
Dlos_timer.c50 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
51 STATIC UINT64 SysTickCycleGet(UINT32 *period);
99 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
105 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
107 UINT64 ticks; in SysTickCycleGet()
/kernel/liteos_m/arch/arm/cortex-m7/gcc/
Dlos_timer.c39 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
40 STATIC UINT64 SysTickCycleGet(UINT32 *period);
79 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
92 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
102 return (UINT64)hwCycle; in SysTickCycleGet()
/kernel/liteos_m/arch/arm/cortex-m3/keil/
Dlos_timer.c40 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
41 STATIC UINT64 SysTickCycleGet(UINT32 *period);
80 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
95 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
105 return (UINT64)hwCycle; in SysTickCycleGet()
/kernel/liteos_m/arch/arm/cortex-m4/gcc/
Dlos_timer.c39 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
40 STATIC UINT64 SysTickCycleGet(UINT32 *period);
79 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
92 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
102 return (UINT64)hwCycle; in SysTickCycleGet()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/
Dlos_timer.c38 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
39 STATIC UINT64 SysTickCycleGet(UINT32 *period);
78 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
92 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
102 return (UINT64)hwCycle; in SysTickCycleGet()
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/
Dlos_timer.c39 STATIC UINT64 SysTickReload(UINT64 nextResponseTime);
40 STATIC UINT64 SysTickCycleGet(UINT32 *period);
79 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload()
93 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet()
103 return (UINT64)hwCycle; in SysTickCycleGet()

12345678