1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-07-12 14:14:12 +00:00

Tests: update to add L1I information

Related to 25d0614811
Dump of Core i5 520m from CPU-X#119
This commit is contained in:
Xorg 2020-05-10 12:17:16 +02:00
parent 25d0614811
commit e592a83278
3 changed files with 15 additions and 9 deletions

View file

@ -31,8 +31,8 @@ def readResultFile():
continue
numeric = ["family", "model", "stepping", "ext_family", "ext_model",
"num_cores", "num_logical", "L1 D cache", "L1 I cache",
"L2 cache", "L3 cache", "L4 cache", "L1D assoc.",
"L2 assoc.", "L3 assoc.", "L4 assoc.", "L1D line sz",
"L2 cache", "L3 cache", "L4 cache", "L1D assoc.", "L1I assoc.",
"L2 assoc.", "L3 assoc.", "L4 assoc.", "L1D line sz", "L1I line sz",
"L2 line sz", "L3 line sz", "L4 line sz"]
field = s[:s.find(":")].strip()
if field in numeric: