about summary refs log tree commit diff
path: root/benchtests
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2015-04-24 13:34:17 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-04-24 13:37:39 +0200
commitf7fba80508eb370db54fb32f6ffc691468ebec3f (patch)
tree4cfbfe93b71169da8d180c4da38d43ae277c54f4 /benchtests
parent92f2897953ab6cd9e073718cfe36611700e174c6 (diff)
downloadglibc-f7fba80508eb370db54fb32f6ffc691468ebec3f.tar.gz
glibc-f7fba80508eb370db54fb32f6ffc691468ebec3f.tar.xz
glibc-f7fba80508eb370db54fb32f6ffc691468ebec3f.zip
S/390: Get cache information via sysconf
This patch adds support to query cache information on s390
via sysconf() function - e.g. with _SC_LEVEL1_ICACHE_SIZE.
The attributes size, linesize and assoc can be queried
for cache level 1 - 4 via "extract cpu attribute" instruction,
which was first available with z10.

* NEWS: Mention sysconf() cache information support for s390.
* sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
Diffstat (limited to 'benchtests')
0 files changed, 0 insertions, 0 deletions