Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 46) sorted by relevance

12

/tools/perf/arch/loongarch/util/
Dheader.c46 char *line, *model, *cpuid; in _get_cpuid() local
53 line = model = cpuid = NULL; in _get_cpuid()
58 model = _get_field(line); in _get_cpuid()
59 if (!model) in _get_cpuid()
64 if (model && (asprintf(&cpuid, "%s", model) < 0)) in _get_cpuid()
69 free(model); in _get_cpuid()
/tools/perf/arch/s390/util/
Dheader.c33 char type[8], model[33], version[8], manufacturer[32], authorization[8]; in get_cpuid() local
52 memset(model, 0, sizeof(model)); in get_cpuid()
83 mdsize += scnprintf(model + mdsize, sizeof(model) - mdsize, in get_cpuid()
84 "%s%s", model[0] ? "," : "", cp); in get_cpuid()
92 if (!manufacturer[0] || !type[0] || !model[0]) in get_cpuid()
132 manufacturer, type, model, version, in get_cpuid()
136 model); in get_cpuid()
/tools/memory-model/
DREADME9 This directory contains the memory consistency model (memory model, for
33 For example, a future version of herd7 might not work with the model
34 in this release. A compatible model will likely be made available in
37 If you absolutely need to run the model in this particular release,
40 klitmus7 is independent of the model provided here. It has its own
46 memory model maintainers.
66 The memory model is used, in conjunction with "herd7", to exhaustively
69 tests is available in tools/memory-model/Documentation/litmus-tests.txt.
73 tools/memory-model/litmus-tests/
85 tools/memory-model/Documentation/litmus-tests.txt
[all …]
Dlinux-kernel.cfg3 model linux-kernel.cat
/tools/perf/arch/x86/util/
Dheader.c29 int family = -1, model = -1, step = -1; in __get_cpuid() local
39 model = (a >> 4) & 0xf; /* Bits 7 - 4 */ in __get_cpuid()
48 model += ((a >> 16) & 0xf) << 4; in __get_cpuid()
50 nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); in __get_cpuid()
/tools/power/cpupower/utils/helpers/
Dcpuid.c58 cpu_info->model = unknown; in get_cpu_info()
89 &cpu_info->model); in get_cpu_info()
97 cpu_info->model == unknown || in get_cpu_info()
180 switch (cpu_info->model) { in get_cpu_info()
Dhelpers.h86 unsigned int model; member
/tools/arch/arm64/include/asm/
Dcputype.h242 u32 model; member
249 .model = m, \
258 static inline bool midr_is_cpu_model_range(u32 midr, u32 model, u32 rv_min, in midr_is_cpu_model_range() argument
264 return _model == model && rv >= rv_min && rv <= rv_max; in midr_is_cpu_model_range()
269 return midr_is_cpu_model_range(midr, range->model, in is_midr_in_range()
276 while (ranges->model) in is_midr_in_range_list()
/tools/perf/arch/s390/annotate/
Dinstructions.c140 char model[16], model_c[16], cpumf_v[16], cpumf_a[16]; in s390__cpuid_parse() local
148 model, cpumf_v, cpumf_a); in s390__cpuid_parse()
151 arch->model = 0; in s390__cpuid_parse()
/tools/memory-model/Documentation/
Dreferences.txt73 Linux-kernel memory model
96 Alan Stern. 2017. "A formal kernel memory-ordering model (part 1)"
100 Alan Stern. 2017. "A formal kernel memory-ordering model (part 2)"
109 Memory-model tooling
122 semantics of the weak consistency model specification language
126 Memory-model comparisons
DREADME4 Linux-kernel memory model (LKMM) audience might be anywhere from novice
66 Quick-reference guide to the Linux-kernel memory model.
73 Detailed description of the memory model.
/tools/perf/pmu-events/arch/s390/
Dmapfile.csv1 Family-model,Version,Filename,EventType
/tools/testing/selftests/powerpc/papr_vpd/
Dpapr_vpd.c219 char *model; in get_system_loc_code() local
222 if (read_file_alloc(model_path, &model, NULL)) in get_system_loc_code()
229 int sscanf_ret = sscanf(model, "IBM,%ms", &mtm); in get_system_loc_code()
255 free(model); in get_system_loc_code()
/tools/testing/selftests/media_tests/
Dmedia_device_open.c81 mdi.model, mdi.driver); in main()
Dmedia_device_test.c99 mdi.model, mdi.driver, count); in main()
/tools/memory-model/scripts/
Drunlitmus.sh58 herdoptions="-model $LKMM_HW_CAT_FILE"
/tools/perf/pmu-events/arch/nds32/
Dmapfile.csv14 #Family-model,Version,Filename,EventType
/tools/perf/scripts/python/
Dexported-sql-viewer.py345 model = model_cache[model_name]
347 model = None
348 if model is None:
349 model = create_fn()
350 model_cache[model_name] = model
352 return model
357 model = model_cache[model_name]
359 model = None
361 return model
1045 self.model = None
[all …]
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c1410 unsigned int fms, family, model; in early_cpuid() local
1414 model = (fms >> 4) & 0xf; in early_cpuid()
1416 model += ((fms >> 16) & 0xf) << 4; in early_cpuid()
1418 if (model == 0x4F) { in early_cpuid()
1440 unsigned int fms, family, model, stepping; in parse_cpuid() local
1455 model = (fms >> 4) & 0xf; in parse_cpuid()
1458 model += ((fms >> 16) & 0xf) << 4; in parse_cpuid()
1462 max_level, family, model, stepping, family, model, stepping); in parse_cpuid()
/tools/perf/arch/x86/annotate/
Dinstructions.c148 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in intel__ins_is_fused()
151 if (arch->model == 0x1e) { in intel__ins_is_fused()
175 unsigned int family, model, stepping; in x86__cpuid_parse() local
181 ret = sscanf(cpuid, "%*[^,],%u,%u,%u", &family, &model, &stepping); in x86__cpuid_parse()
184 arch->model = model; in x86__cpuid_parse()
/tools/memory-model/litmus-tests/
DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus10 * write. In memory-model-speak, there is only one non-reads-from
/tools/verification/rv/
DREADME.txt4 complements classical exhaustive verification techniques (such as model
/tools/perf/pmu-events/
DREADME25 The PMU events supported by a CPU model are expected to grouped into topics
30 All the topic JSON files for a CPU model/family should be in a separate
37 The JSONs folder for a CPU model/family may be placed in the root arch
/tools/perf/util/
Ddisasm.h30 unsigned int model; member
/tools/perf/pmu-events/arch/x86/
Dmapfile.csv1 Family-model,Version,Filename,EventType

12