Home | History | Annotate | Download | only in libpp

Lines Matching refs:header

3  * various free function acting on a sample file header
47 os << "header timestamps are different ("
55 os << "header is_kernel flags are different for "
88 void check_mtime(string const & file, opd_header const & header)
92 if (newmtime == header.mtime)
101 if (!header.mtime) {
102 // FIXME: header.mtime for JIT sample files is 0. The problem could be that
147 opd_header header;
148 if (read(fd, &header, sizeof(header)) != sizeof(header)) {
150 throw op_fatal_error("Can't read sample file header:" +
154 if (memcmp(header.magic, OPD_MAGIC, sizeof(header.magic))) {
163 return header;
243 string const describe_header(opd_header const & header)
245 op_cpu cpu = static_cast<op_cpu>(header.cpu_type);
248 return op_xml_print_event(cpu, header.ctr_event,
249 header.ctr_um, header.ctr_count);
251 return op_print_event(cpu, header.ctr_event,
252 header.ctr_um, header.ctr_count);
256 string const describe_cpu(opd_header const & header)
258 op_cpu cpu = static_cast<op_cpu>(header.cpu_type);
264 str = xml_utils::get_profile_header(cpu_name, header.cpu_speed);
270 ss << header.cpu_speed;