Diff of /libop/op_cpu_type.c [a2811b] .. [4b1497]  Maximize  Restore

Switch to unified view

a/libop/op_cpu_type.c b/libop/op_cpu_type.c
...
...
125
    { "AMD64 generic", "x86-64/generic", CPU_AMD64_GENERIC, 4 },
125
    { "AMD64 generic", "x86-64/generic", CPU_AMD64_GENERIC, 4 },
126
    { "IBM Power Architected Events V1", "ppc64/architected_events_v1", CPU_PPC64_ARCH_V1, 6 },
126
    { "IBM Power Architected Events V1", "ppc64/architected_events_v1", CPU_PPC64_ARCH_V1, 6 },
127
    { "ppc64 POWER8", "ppc64/power8", CPU_PPC64_POWER8, 6 },
127
    { "ppc64 POWER8", "ppc64/power8", CPU_PPC64_POWER8, 6 },
128
    { "e500mc", "ppc/e500mc", CPU_PPC_E500MC, 4 },
128
    { "e500mc", "ppc/e500mc", CPU_PPC_E500MC, 4 },
129
    { "e6500", "ppc/e6500", CPU_PPC_E6500, 6 },
129
    { "e6500", "ppc/e6500", CPU_PPC_E6500, 6 },
130
  { "Intel Silvermont microarchitecture", "i386/silvermont", CPU_SILVERMONT, 2 },
130
};
131
};
131
 
132
 
132
static size_t const nr_cpu_descrs = sizeof(cpu_descrs) / sizeof(struct cpu_descr);
133
static size_t const nr_cpu_descrs = sizeof(cpu_descrs) / sizeof(struct cpu_descr);
133
134
134
static char * _get_cpuinfo_cpu_type_line(char * buf, int len, const char * prefix, int token)
135
static char * _get_cpuinfo_cpu_type_line(char * buf, int len, const char * prefix, int token)
...
...
642
    case CPU_CORE_2:
643
    case CPU_CORE_2:
643
    case CPU_CORE_I7:
644
    case CPU_CORE_I7:
644
    case CPU_ATOM:
645
    case CPU_ATOM:
645
    case CPU_NEHALEM:
646
    case CPU_NEHALEM:
646
    case CPU_HASWELL:
647
    case CPU_HASWELL:
648
  case CPU_SILVERMONT:
647
    case CPU_WESTMERE:
649
    case CPU_WESTMERE:
648
    case CPU_SANDYBRIDGE:
650
    case CPU_SANDYBRIDGE:
649
    case CPU_IVYBRIDGE:
651
    case CPU_IVYBRIDGE:
650
        return CPU_ARCH_PERFMON;
652
        return CPU_ARCH_PERFMON;
651
    default:
653
    default:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks