| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final CacheLevelInfo[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CacheLevelInfo | Returns: the CPU cache level informationthe cache level index index)Get the CPU cache level information for a cache level. |
| public static int | Returns: the number of CPU cache levels, or 0 if unknownGet the number of CPU cache level entries. |
| public static int | Returns: the smallest cache line size, or 0 if unknownGet the smallest known data cache line size. |
| public static int | Returns: the smallest cache line size, or 0 if unknownGet the smallest known instruction cache line size. |
| public static void | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static int |
| cacheLevels | back to summary |
|---|---|
| private static final CacheLevelInfo[] cacheLevels | |
| CacheInfo | back to summary |
|---|---|
| public CacheInfo() | |
| getCacheLevelInfo | back to summary |
|---|---|
| public static CacheLevelInfo getCacheLevelInfo(int index) Get the CPU cache level information for a cache level. The
| |
| getLevelEntryCount | back to summary |
|---|---|
| public static int getLevelEntryCount() Get the number of CPU cache level entries. If no cache information could be gathered, 0 is returned.
| |
| getSmallestDataCacheLineSize | back to summary |
|---|---|
| public static int getSmallestDataCacheLineSize() Get the smallest known data cache line size. If no cache line sizes are known, 0 is returned. Note that smaller cache lines may exist if one or more cache line sizes are unknown.
| |
| getSmallestInstructionCacheLineSize | back to summary |
|---|---|
| public static int getSmallestInstructionCacheLineSize() Get the smallest known instruction cache line size. If no cache line sizes are known, 0 is returned. Note that smaller cache lines may exist if one or more cache line sizes are unknown.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| parseIntFile | back to summary |
|---|---|
| pack-priv static int parseIntFile(final File file) | |
| parseIntKBFile | back to summary |
|---|---|
| pack-priv static int parseIntKBFile(final File file) | |
| parseProcessOutput | back to summary |
|---|---|
| pack-priv static String parseProcessOutput(final String... args) | |
| parseStringFile | back to summary |
|---|---|
| pack-priv static String parseStringFile(final File file) | |
| parseStringStream | back to summary |
|---|---|
| pack-priv static String parseStringStream(final InputStream is) | |
| safeParseInt | back to summary |
|---|---|
| pack-priv static int safeParseInt(final String string) | |
| Modifier and Type | Field and Description |
|---|---|
| private final InputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| stream | back to summary |
|---|---|
| private final InputStream stream | |
| StreamConsumer | back to summary |
|---|---|
| pack-priv StreamConsumer(final InputStream stream) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |