x64x86arm64ia64 / ntdllntoskrnl

_WMI_LOGGER_CONTEXT

← 10.0.28000.3231 22 builds latest →
struct _WMI_LOGGER_CONTEXT {
unsigned long LoggerId;/* 0x0 4 */
unsigned long BufferSize;/* 0x4 4 */
unsigned long MaximumEventSize;/* 0x8 4 */
unsigned long LoggerMode;/* 0xc 4 */
long AcceptNewEvents;/* 0x10 4 */
/* 4 bytes padding */
unsigned __int64 GetCpuClock;/* 0x18 8 */
long LoggerStatus;/* 0x28 4 */
unsigned long FailureReason;/* 0x2c 4 */
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned long DecodeControlCount;/* 0x78 4 */
/* 4 bytes padding */
/* ── cacheline 2 boundary (128 bytes) ── */
union {
};/* 0x80 8 */
/* ── cacheline 3 boundary (192 bytes) ── */
unsigned long ClockType;/* 0xc8 4 */
unsigned long LastFlushedBuffer;/* 0xcc 4 */
unsigned long FlushTimer;/* 0xd0 4 */
unsigned long FlushThreshold;/* 0xd4 4 */
unsigned long MinimumBuffers;/* 0xe0 4 */
volatile long BuffersAvailable;/* 0xe4 4 */
volatile long NumberOfBuffers;/* 0xe8 4 */
unsigned long MaximumBuffers;/* 0xec 4 */
volatile unsigned long EventsLost;/* 0xf0 4 */
volatile long PeakBuffersCount;/* 0xf4 4 */
unsigned long BuffersWritten;/* 0xf8 4 */
unsigned long LogBuffersLost;/* 0xfc 4 */
/* ── cacheline 4 boundary (256 bytes) ── */
unsigned long RealTimeBuffersDelivered;/* 0x100 4 */
unsigned long RealTimeBuffersLost;/* 0x104 4 */
long* SequencePtr;/* 0x108 8 */
unsigned long LocalSequence;/* 0x110 4 */
unsigned long MaximumFileSize;/* 0x124 4 */
long FileCounter;/* 0x128 4 */
/* ── cacheline 5 boundary (320 bytes) ── */
long CollectionOn;/* 0x140 4 */
unsigned long ProviderInfoSize;/* 0x144 4 */
unsigned long NumConsumers;/* 0x158 4 */
/* 4 bytes padding */
void* RealtimeLogfileHandle;/* 0x168 8 */
/* ── cacheline 6 boundary (384 bytes) ── */
unsigned __int64 RealtimeLogfileUsage;/* 0x198 8 */
unsigned __int64 RealtimeMaximumFileSize;/* 0x1a0 8 */
unsigned long RealtimeBuffersSaved;/* 0x1a8 4 */
/* 4 bytes padding */
/* ── cacheline 7 boundary (448 bytes) ── */
/* 4 bytes padding */
/* ── cacheline 8 boundary (512 bytes) ── */
/* ── cacheline 9 boundary (576 bytes) ── */
/* ── cacheline 10 boundary (640 bytes) ── */
union {
unsigned __int64 BufferListSpinLock;/* 0x2b8 8 */
};/* 0x2b8 8 */
/* ── cacheline 11 boundary (704 bytes) ── */
/* ── cacheline 12 boundary (768 bytes) ── */
void* LogFileHandle;/* 0x320 8 */
__int64 BufferSequenceNumber;/* 0x328 8 */
unsigned long Flags;/* 0x330 4 */
unsigned long Flags2;/* 0x334 4 */
volatile unsigned long RequestFlag;/* 0x338 4 */
/* 4 bytes padding */
/* ── cacheline 13 boundary (832 bytes) ── */
/* ── cacheline 16 boundary (1024 bytes) ── */
/* ── cacheline 17 boundary (1088 bytes) ── */
/* ── cacheline 20 boundary (1280 bytes) ── */
volatile unsigned long ContextRegisterTypes;/* 0x500 4 */
volatile unsigned long ContextRegisterHookCount;/* 0x504 4 */
unsigned short ContextRegisterHookIdMap[8];/* 0x508 16 */
/* ── cacheline 21 boundary (1344 bytes) ── */
long CompressionWorkItemState;/* 0x578 4 */
/* 4 bytes padding */
/* ── cacheline 22 boundary (1408 bytes) ── */
void* CompressionWorkspace;/* 0x590 8 */
long CompressionOn;/* 0x598 4 */
unsigned long CompressionRatioGuess;/* 0x59c 4 */
unsigned long PartialBufferCompressionLevel;/* 0x5a0 4 */
/* ── cacheline 23 boundary (1472 bytes) ── */
/* ── cacheline 24 boundary (1536 bytes) ── */
__int64 ReferenceQpcDelta;/* 0x618 8 */
__int64 FlushingSequenceNumber;/* 0x638 8 */
/* ── cacheline 25 boundary (1600 bytes) ── */
unsigned __int64* PfnArray;/* 0x650 8 */
};
size 1632 (0x660)114 members7 holes (28 bytes)padding 826 cachelines
Used in (2)