Searched refs:cpu (Results 1 – 11 of 11) sorted by relevance
| /subsys/debug/thread_analyzer/ |
| A D | thread_analyzer.c | 97 unsigned int cpu; member 109 unsigned int cpu = ud->cpu; in thread_analyze_cb() local 155 if (k_thread_runtime_stats_cpu_get(cpu, &rt_stats_all) != 0) { in thread_analyze_cb() 204 void thread_analyzer_run(thread_analyzer_cb cb, unsigned int cpu) in thread_analyzer_run() argument 206 struct ta_cb_user_data ud = { .cb = cb, .cpu = cpu }; in thread_analyzer_run() 216 k_thread_foreach_filter_by_cpu(cpu, thread_analyze_cb, &ud); in thread_analyzer_run() 224 isr_stack(cpu); in thread_analyzer_run() 231 void thread_analyzer_print(unsigned int cpu) in thread_analyzer_print() argument 235 cpu); in thread_analyzer_print() 239 thread_analyzer_run(thread_print_cb, cpu); in thread_analyzer_print() [all …]
|
| /subsys/pm/ |
| A D | state.c | 78 uint8_t pm_state_cpu_get_all(uint8_t cpu, const struct pm_state_info **states) in pm_state_cpu_get_all() argument 80 if (cpu >= ARRAY_SIZE(cpus_states)) { in pm_state_cpu_get_all() 84 *states = cpus_states[cpu]; in pm_state_cpu_get_all() 86 return states_per_cpu[cpu]; in pm_state_cpu_get_all() 89 const struct pm_state_info *pm_state_get(uint8_t cpu, enum pm_state state, uint8_t substate_id) in pm_state_get() argument 91 __ASSERT_NO_MSG(cpu < ARRAY_SIZE(cpus_states)); in pm_state_get() 92 const struct pm_state_info *states = cpus_states[cpu]; in pm_state_get() 93 uint8_t cnt = states_per_cpu[cpu]; in pm_state_get()
|
| A D | pm_stats.c | 66 uint8_t cpu = CPU_ID; in pm_stats_update() local 67 uint32_t time_total = time_stop[cpu] - time_start[cpu]; in pm_stats_update() 69 STATS_INC(stats[cpu][state], state_count); in pm_stats_update() 70 STATS_INCN(stats[cpu][state], state_total_cycles, time_total); in pm_stats_update() 71 STATS_SET(stats[cpu][state], state_last_cycles, time_total); in pm_stats_update()
|
| A D | pm.c | 125 bool pm_state_force(uint8_t cpu, const struct pm_state_info *info) in pm_state_force() argument 132 info = pm_state_get(cpu, info->state, info->substate_id); in pm_state_force() 139 z_cpus_pm_forced_state[cpu] = info; in pm_state_force() 268 const struct pm_state_info *pm_state_next_get(uint8_t cpu) in pm_state_next_get() argument 274 return z_cpus_pm_state[cpu] ? z_cpus_pm_state[cpu] : &active; in pm_state_next_get()
|
| /subsys/shell/modules/kernel_service/thread/ |
| A D | pin.c | 16 int cpu, err = 0; in cmd_kernel_thread_pin() local 30 cpu = shell_strtoul(argv[2], 10, &err); in cmd_kernel_thread_pin() 36 shell_print(sh, "Pinning %p %s to CPU %d", (void *)thread, thread->name, cpu); in cmd_kernel_thread_pin() 37 err = k_thread_cpu_pin(thread, cpu); in cmd_kernel_thread_pin()
|
| A D | mask.c | 73 int rc, cpu, err = 0; in cmd_kernel_thread_mask_enable() local 87 cpu = (int)shell_strtol(argv[2], 10, &err); in cmd_kernel_thread_mask_enable() 93 rc = k_thread_cpu_mask_enable(thread, cpu); in cmd_kernel_thread_mask_enable() 108 int rc, cpu, err = 0; in cmd_kernel_thread_mask_disable() local 122 cpu = (int)shell_strtol(argv[2], 10, &err); in cmd_kernel_thread_mask_disable() 128 rc = k_thread_cpu_mask_disable(thread, cpu); in cmd_kernel_thread_mask_disable()
|
| /subsys/pm/policy/ |
| A D | policy_default.c | 12 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state() argument 24 num_cpu_states = pm_state_cpu_get_all(cpu, &cpu_states); in pm_policy_next_state()
|
| /subsys/logging/backends/ |
| A D | Kconfig.swo | 16 …default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) if $(dt_node_has_prop,/cpus/cpu@0,cloc…
|
| /subsys/testsuite/ztest/ |
| A D | Kconfig | 36 int "Time in milliseconds to hold other CPUs for 1cpu type tests" 40 which a 1cpu type test may execute on a multicpu system. The default
|
| /subsys/testsuite/ |
| A D | Kconfig | 198 It simulates cpu load by using counter device to generate interrupts
|
| /subsys/debug/ |
| A D | Kconfig | 361 DT_CHOSEN_Z_CPU_LOAD_COUNTER := zephyr,cpu-load-counter
|
Completed in 19 milliseconds