Home | History | Annotate | Download | only in src

Lines Matching defs:psp

62       struct pst_processor *psp;
68 psp = (struct pst_processor *)malloc(lib_num_loc_cpus * sizeof(*psp));
69 if (psp == NULL) {
70 printf("malloc(%d) failed!\n", lib_num_loc_cpus * sizeof(*psp));
73 if (pstat_getprocessor(psp, sizeof(*psp), lib_num_loc_cpus, 0) != -1) {
77 overlay->word[0] = psp[i].psp_idlecycles.psc_hi;
78 overlay->word[1] = psp[i].psp_idlecycles.psc_lo;
88 free(psp);
124 struct pst_processor *psp;
132 psp = (struct pst_processor *)malloc(lib_num_loc_cpus * sizeof(*psp));
133 if (psp == NULL) {
134 printf("malloc(%d) failed!\n", lib_num_loc_cpus * sizeof(*psp));
141 if (pstat_getprocessor(psp, sizeof(*psp), lib_num_loc_cpus, 0) != -1) {
148 overlay->word[0] = psp[j].psp_idlecycles.psc_hi;
149 overlay->word[1] = psp[j].psp_idlecycles.psc_lo;
177 if (pstat_getprocessor(psp, sizeof(*psp), lib_num_loc_cpus, 0) != -1) {
184 overlay->word[0] = psp[j].psp_idlecycles.psc_hi;
185 overlay->word[1] = psp[j].psp_idlecycles.psc_lo;