Closed Get-Newsletters-Int closed 1 month ago
Thanks! I tested it on my machine and it works well:
{
"type": "CPUCache",
"result": {
"l1": [
{
"size": 32768,
"num": 2,
"lineSize": 64,
"type": "data"
},
{
"size": 32768,
"num": 2,
"lineSize": 64,
"type": "instruction"
}
],
"l2": [
{
"size": 262144,
"num": 2,
"lineSize": 64,
"type": "unified"
}
],
"l3": [
{
"size": 3145728,
"num": 1,
"lineSize": 64,
"type": "unified"
}
]
}
}
///////////////// ///////////////// CPU Cache (L1): 2x32.00 KiB (D), 2x32.00 KiB (I)
///////////////// ///////////////// CPU Cache (L2): 2x256.00 KiB (U)
///////////////// ///////////////// CPU Cache (L3): 3.00 MiB (U)
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
///////////////// /////////////////
What's your CPU?
I tested it on Intel Core i3-380M.
Wanted features:
Allow detection of L3, L2, and L1 cache amounts for CPUs.
Motivation:
Cache amounts are important, especially with processors like AMD Ryzen X3D.