Searched refs:cpu_num (Results 1 – 12 of 12) sorted by relevance
/AliOS-Things-master/components/cplusplus/example/cpp_standard/ |
A D | thread_test.cpp | 31 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 D | k_idle.c | 37 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 D | k_task.c | 85 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 D | k_sched.c | 160 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 D | k_sys.c | 100 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 D | thread.cpp | 77 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 D | k_task.h | 145 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 D | k_internal.h | 167 ktask_t *preferred_cpu_ready_task_get(runqueue_t *rq, uint8_t cpu_num);
|
/AliOS-Things-master/components/cplusplus/include/ |
A D | cpp_thread.h | 64 uint8_t cpu_num, uint8_t autorun); 129 kstat_t cpu_bind(uint8_t cpu_num);
|
/AliOS-Things-master/components/debug/src/ |
A D | debug_dumpsys.c | 24 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 D | debug_overview.c | 147 s_task_overview[cpu_idx + 10] = (uint8_t)('0' + task->cpu_num); in debug_task_show()
|
/AliOS-Things-master/documentation/aos-tools/ |
A D | aos-tools_user_manual.md | 174 cpu_num = 804
|
Completed in 19 milliseconds