Class WinNT.CACHE_RELATIONSHIP
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
com.sun.jna.platform.win32.WinNT.CACHE_RELATIONSHIP
- Enclosing interface:
WinNT
@FieldOrder({"level","associativity","lineSize","cacheSize","type","reserved","groupMask"})
public static class WinNT.CACHE_RELATIONSHIP
extends WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
Describes cache attributes.
- Author:
- dblock[at]dblock.org
-
Nested Class Summary
Nested classes/interfaces inherited from class Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionbyteThe cache associativity.intThe cache size, in bytes.AWinNT.GROUP_AFFINITYstructure that specifies a group number and processor affinity within the group.byteThe cache level.shortThe cache line size, in bytes.byte[]This member is reserved.intThe cache type.Fields inherited from class WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
relationship, sizeFields inherited from class Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
fromPointerMethods inherited from class Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
level
public byte levelThe cache level. This member can be 1 (L1), 2 (L2), 3 (L3), or 4 (L4). -
associativity
public byte associativityThe cache associativity. If this member isWinNT.CACHE_FULLY_ASSOCIATIVE, the cache is fully associative. -
lineSize
public short lineSizeThe cache line size, in bytes. -
cacheSize
public int cacheSizeThe cache size, in bytes. -
type
public int typeThe cache type. This member is aWinNT.PROCESSOR_CACHE_TYPEvalue. -
reserved
public byte[] reservedThis member is reserved. -
groupMask
AWinNT.GROUP_AFFINITYstructure that specifies a group number and processor affinity within the group.
-
-
Constructor Details
-
CACHE_RELATIONSHIP
public CACHE_RELATIONSHIP() -
CACHE_RELATIONSHIP
-