Rev 3343 | Rev 3742 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3582 | ||
---|---|---|---|
Line 97... | Line 97... | ||
97 | 97 | ||
98 | /** List all processors. */ |
98 | /** List all processors. */ |
99 | void cpu_list(void) |
99 | void cpu_list(void) |
100 | { |
100 | { |
101 | unsigned int i; |
101 | unsigned int i; |
102 | - | ||
103 | for (i = 0; i < config.cpu_count; i++) { |
102 | for (i = 0; i < config.cpu_count; i++) { |
104 | if (cpus[i].active) |
103 | if (cpus[i].active) |
105 | cpu_print_report(&cpus[i]); |
104 | cpu_print_report(&cpus[i]); |
106 | else |
105 | else |
107 | printf("cpu%u: not active\n", i); |
106 | printf("cpu%u: not active\n", i); |