public final class CacheInfo
extends java.lang.Object
| Constructor | Description |
|---|---|
CacheInfo() |
| Modifier and Type | Method | Description |
|---|---|---|
static CacheLevelInfo |
getCacheLevelInfo(int index) |
Get the CPU cache level information for a cache level.
|
static int |
getLevelEntryCount() |
Get the number of CPU cache level entries.
|
static int |
getSmallestDataCacheLineSize() |
Get the smallest known data cache line size.
|
static int |
getSmallestInstructionCacheLineSize() |
Get the smallest known instruction cache line size.
|
static void |
main(java.lang.String[] args) |
public static int getLevelEntryCount()
public static CacheLevelInfo getCacheLevelInfo(int index)
index argument must be greater than zero and
less than the number of levels returned by getLevelEntryCount().index - the cache level indexpublic static int getSmallestDataCacheLineSize()
public static int getSmallestInstructionCacheLineSize()
public static void main(java.lang.String[] args)
Copyright © 2017 JBoss, a division of Red Hat, Inc.