Lines Matching defs:pclass
46 string get_event_num(size_t pclass)
48 return classes.v[pclass].ptemplate.event;
104 string get_cpu_num(size_t pclass)
106 return classes.v[pclass].ptemplate.cpu;
296 profile_class & pclass = classes.v[i];
297 size_t event = atoi(pclass.ptemplate.event.c_str());
305 size_t cpu = atoi(pclass.ptemplate.cpu.c_str());
312 if ((*sc_ptr)[j].unitmask == pclass.ptemplate.unitmask) {
325 (*sc_ptr)[new_index].unitmask = pclass.ptemplate.unitmask;
330 out << init_attr(CPU_NUM, pclass.ptemplate.cpu);
334 out << init_attr(EVENT_MASK, pclass.ptemplate.unitmask);
338 pclass.name = subclass_name;
395 xml_utils::output_summary_data(ostream & out, count_array_t const & summary, size_t pclass)
397 size_t const count = summary[pclass];
404 out << init_attr(CLASS, classes.v[pclass].name);
542 for (size_t pclass = lo ; pclass <= hi; ++pclass)
543 summary[pclass] += counts[pclass];