
public final class CacheInfo extends Object
| Constructor and Description |
|---|
CacheInfo() |
| Modifier and Type | Method and 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(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(String[] args)
Copyright © 2015 JBoss, a division of Red Hat, Inc.