Home
last modified time | relevance | path

Searched refs:LOS_GetCurrProcessID (Results 1 – 25 of 29) sorted by relevance

12

/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/full/
DIt_extend_cpup_012.c57 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_TEN_SECONDS); in TaskF01()
59 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_ONE_SECONDS); in TaskF01()
69 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
77 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_TEN_SECONDS); in TaskF01()
79 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_ONE_SECONDS); in TaskF01()
89 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
DIt_extend_cpup_005.c45 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
53 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE1); in TaskF01()
DIt_extend_cpup_004.c46 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF02()
85 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
DIt_extend_cpup_003.c43 g_testTaskID02 = LOS_GetCurrProcessID(); in TaskF02()
78 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
DIt_extend_cpup_008.c47 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
DIt_extend_cpup_006.c80 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_094.c84 task1.processID = LOS_GetCurrProcessID(); in Testcase()
89 task1.processID = LOS_GetCurrProcessID(); in Testcase()
106 task1.processID = LOS_GetCurrProcessID(); in Testcase()
110 task1.processID = LOS_GetCurrProcessID(); in Testcase()
131 task1.processID = LOS_GetCurrProcessID(); in Testcase()
135 task1.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_los_task_098.c56 task1.processID = LOS_GetCurrProcessID(); in TaskF01()
60 task1.processID = LOS_GetCurrProcessID(); in TaskF01()
89 task1.processID = LOS_GetCurrProcessID(); in Testcase()
93 task1.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_los_task_095.c56 task1.processID = LOS_GetCurrProcessID(); in Testcase()
60 task1.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_los_task_096.c83 task1.processID = LOS_GetCurrProcessID(); in Testcase()
87 task1.processID = LOS_GetCurrProcessID(); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/smoke/
DIt_extend_cpup_002.c48 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE0); in TaskF01()
56 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE1); in TaskF01()
64 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE1); in TaskF01()
DIt_extend_cpup_001.c67 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
/kernel/liteos_a/syscall/
Dprocess_syscall.c78 ret = LOS_GetProcessScheduler(LOS_GetCurrProcessID(), &processPolicy, NULL); in UserTaskSchedulerCheck()
173 id = (int)LOS_GetCurrProcessID(); in SysSchedGetScheduler()
210 id = (int)LOS_GetCurrProcessID(); in SysSchedSetScheduler()
213 ret = OsPermissionToCheck(id, LOS_GetCurrProcessID()); in SysSchedSetScheduler()
252 id = (int)LOS_GetCurrProcessID(); in SysSchedGetParam()
280 who = (int)LOS_GetCurrProcessID(); in SysSetProcessPriority()
293 ret = OsPermissionToCheck(who, LOS_GetCurrProcessID()); in SysSetProcessPriority()
314 id = (int)LOS_GetCurrProcessID(); in SysSchedSetParam()
328 who = (int)LOS_GetCurrProcessID(); in SysGetProcessPriority()
497 return LOS_GetCurrProcessID(); in SysGetPID()
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smoke/
DIt_los_task_099.c57 task1.processID = LOS_GetCurrProcessID(); in Testcase()
61 task1.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_los_task_097.c59 task1.processID = LOS_GetCurrProcessID(); in TaskF01()
63 task1.processID = LOS_GetCurrProcessID(); in TaskF01()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_024.c90 task.processID = LOS_GetCurrProcessID(); in Testcase()
101 task.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_smp_los_task_025.c109 task.processID = LOS_GetCurrProcessID(); in Testcase()
120 task.processID = LOS_GetCurrProcessID(); in Testcase()
/kernel/liteos_a/kernel/include/
Dlos_process.h58 extern UINT32 LOS_GetCurrProcessID(VOID);
/kernel/liteos_a/drivers/char/quickstart/src/
Dquickstart.c115 if (LOS_GetCurrProcessID() != OS_USER_ROOT_PROCESS_ID) { in QuickstartIoctl()
/kernel/liteos_a/fs/proc/os_adapt/
Dfd_proc.c113 pidList[0] = LOS_GetCurrProcessID(); in FdProcFill()
/kernel/liteos_a/kernel/base/vm/
Dshm.c264 seg->ds.shm_cpid = LOS_GetCurrProcessID(); in ShmAllocSeg()
400 seg->ds.shm_lpid = LOS_GetCurrProcessID(); /* may not be the space's PID. */ in OsShmRegionFree()
622 seg->ds.shm_lpid = LOS_GetCurrProcessID(); in ShmAt()
794 seg->ds.shm_lpid = LOS_GetCurrProcessID(); in ShmDt()
/kernel/liteos_a/kernel/base/ipc/
Dlos_futex.c187 node->pid = (flags & FUTEX_PRIVATE) ? LOS_GetCurrProcessID() : OS_INVALID; in OsFutexSetKey()
721 .pid = (flags & FUTEX_PRIVATE) ? LOS_GetCurrProcessID() : OS_INVALID, in OsFutexWakeTask()
806 .pid = (newIndex < FUTEX_INDEX_SHARED_POS) ? LOS_GetCurrProcessID() : OS_INVALID, in OsFutexRequeueInsertNewKey()
899 .pid = (flags & FUTEX_PRIVATE) ? LOS_GetCurrProcessID() : OS_INVALID, in OsFutexRequeueRemoveOldKeyAndGetHead()
/kernel/liteos_a/kernel/extended/perf/
Dlos_perf.c255 *(UINT32 *)(p + size) = LOS_GetCurrProcessID(); in OsPerfCollectData()
356 if ((g_perfCb.needSample) && OsPerfFilter(LOS_CurTaskIDGet(), LOS_GetCurrProcessID())) { in OsPerfHandleOverFlow()
/kernel/liteos_a/kernel/extended/hilog/
Dlos_hilog.c240 header->pid = LOS_GetCurrProcessID(); in HiLogHeadInit()
/kernel/liteos_a/kernel/extended/trace/
Dlos_trace.c98 frame->curPid = LOS_GetCurrProcessID(); in OsTraceSetFrame()

12