Fix the verbose output for caches (again) so they are properly labeled, pending adoption of the upstream patch we supplied.
This commit was SVN r25251.
Этот коммит содержится в:
родитель
d3271e8cc1
Коммит
8c4512a994
@ -258,7 +258,7 @@ hwloc_obj_attr_snprintf(char * __hwloc_restrict string, size_t size, hwloc_obj_t
|
||||
switch (obj->type) {
|
||||
case HWLOC_OBJ_CACHE:
|
||||
if (verbose)
|
||||
res = hwloc_snprintf(tmp, tmplen, "%s%lu%s%sline=%u",
|
||||
res = hwloc_snprintf(tmp, tmplen, "%sSize=%lu%s%sLine=%u",
|
||||
prefix,
|
||||
(unsigned long) hwloc_memory_size_printf_value(obj->attr->cache.size, verbose),
|
||||
hwloc_memory_size_printf_unit(obj->attr->cache.size, verbose),
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user