Home
last modified time | relevance | path

Searched refs:cpu_num (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/cplusplus/example/cpp_standard/
A Dthread_test.cpp31 int cpu_num; in thread_test() local
39 cpu_num = thread0.hardware_concurrency(); in thread_test()
40 if (cpu_num <= 0) { in thread_test()
41 cout << "thead test error, cpu_num:" << cpu_num << endl; in thread_test()
/AliOS-Things-master/kernel/rhino/
A Dk_idle.c37 uint8_t cpu_num; in idle_task() local
47 cpu_num = cpu_cur_get(); in idle_task()
70 *(volatile idle_count_t *)(&g_idle_count[cpu_num]) = g_idle_count[cpu_num] + 1; in idle_task()
A Dk_task.c85 if (g_idle_task_spawned[cpu_num] > 0u) { in task_create()
90 g_idle_task_spawned[cpu_num] = 1u; in task_create()
128 task->cpu_num = cpu_num; in task_create()
210 autorun, K_OBJ_STATIC_ALLOC, cpu_num, 1, KSCHED_RR); in krhino_task_cpu_create()
219 autorun, K_OBJ_STATIC_ALLOC, cpu_num, 1, KSCHED_CFS); in krhino_cfs_task_cpu_create()
223 kstat_t krhino_task_cpu_bind(ktask_t *task, uint8_t cpu_num) in krhino_task_cpu_bind() argument
234 task->cpu_num = cpu_num; in krhino_task_cpu_bind()
326 uint8_t cpu_num, uint8_t autorun) in krhino_cfs_task_cpu_dyn_create() argument
408 if (task->cpu_num != cur_cpu_num) { in task_suspend()
835 if (task->cpu_num != cur_cpu_num) { in krhino_task_del()
[all …]
A Dk_sched.c160 preferred_task->cpu_num = cur_cpu_num; in core_sched()
293 if (task->cpu_num != cur_cpu_num) { in task_sched_to_cpu()
294 if (task->prio <= g_active_task[task->cpu_num]->prio) { in task_sched_to_cpu()
295 cpu_signal(task->cpu_num); in task_sched_to_cpu()
439 ktask_t *preferred_cpu_ready_task_get(runqueue_t *rq, uint8_t cpu_num) in preferred_cpu_ready_task_get() argument
460 if (g_active_task[cpu_num] == task) { in preferred_cpu_ready_task_get()
465 || ((task->cur_exc == 0) && (task->cpu_binded == 1) && (task->cpu_num == cpu_num)); in preferred_cpu_ready_task_get()
481 ktask_t *preferred_cpu_ready_task_get(runqueue_t *rq, uint8_t cpu_num) in preferred_cpu_ready_task_get() argument
A Dk_sys.c100 preferred_task->cpu_num = i; in krhino_start()
248 preferred_task->cpu_num = cur_cpu_num; in krhino_intrpt_exit()
/AliOS-Things-master/components/cplusplus/
A Dthread.cpp77 uint8_t cpu_num, in create_smp() argument
87 cpu_num, in create_smp()
191 kstat_t thread::cpu_bind(uint8_t cpu_num) in cpu_bind() argument
193 return krhino_task_cpu_bind(p_thread_def, cpu_num); in cpu_bind()
/AliOS-Things-master/kernel/rhino/include/
A Dk_task.h145 uint8_t cpu_num; member
215 size_t stack_size, task_entry_t entry, uint8_t cpu_num,
220 task_entry_t entry, uint8_t cpu_num, uint8_t autorun);
230 kstat_t krhino_task_cpu_bind(ktask_t *task, uint8_t cpu_num);
284 task_entry_t entry, uint8_t cpu_num, uint8_t autorun);
288 uint8_t cpu_num, uint8_t autorun);
A Dk_internal.h167 ktask_t *preferred_cpu_ready_task_get(runqueue_t *rq, uint8_t cpu_num);
/AliOS-Things-master/components/cplusplus/include/
A Dcpp_thread.h64 uint8_t cpu_num, uint8_t autorun);
129 kstat_t cpu_bind(uint8_t cpu_num);
/AliOS-Things-master/components/debug/src/
A Ddebug_dumpsys.c24 uint8_t cpu_num; member
145 taskinfoeach->cpu_num = task->cpu_num; in dumpsys_task_func()
181 taskinfoeach->cpu_num, taskinfoeach->cur_exc); in dumpsys_task_func()
A Ddebug_overview.c147 s_task_overview[cpu_idx + 10] = (uint8_t)('0' + task->cpu_num); in debug_task_show()
/AliOS-Things-master/documentation/aos-tools/
A Daos-tools_user_manual.md174 cpu_num = 804

Completed in 19 milliseconds