cpu.cache
readonly |
This property gets different cache levels and their size (in kb). The returned table with the cache identifier as a key, and its size as value.
Example
--! luart-extensions
import cpu
for cache, size in pairs(cpu.cache) do
print(cache..": ", size.."kb")
end