Win32 API 日本語リファレンス
ホームSystem.Diagnostics.Debug › MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION

MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION

構造体
サイズx64: 344 バイト / x86: 344 バイトパッキング4

サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。

フィールド

フィールドサイズx64x86説明
IdleProcessTimeULONGLONG8+0+0アイドルプロセスのCPU時間。
IoReadTransferCountULONGLONG8+8+8I/O読み取り転送バイト数。
IoWriteTransferCountULONGLONG8+16+16I/O書き込み転送バイト数。
IoOtherTransferCountULONGLONG8+24+24その他I/O転送バイト数。
IoReadOperationCountDWORD4+32+32I/O読み取り操作回数。
IoWriteOperationCountDWORD4+36+36I/O書き込み操作回数。
IoOtherOperationCountDWORD4+40+40その他I/O操作回数。
AvailablePagesDWORD4+44+44利用可能な物理ページ数。
CommittedPagesDWORD4+48+48コミット済みページ数。
CommitLimitDWORD4+52+52コミット可能上限(ページ数)。
PeakCommitmentDWORD4+56+56コミットのピーク値(ページ数)。
PageFaultCountDWORD4+60+60ページフォルト数。
CopyOnWriteCountDWORD4+64+64コピーオンライト発生回数。
TransitionCountDWORD4+68+68遷移フォルト回数。
CacheTransitionCountDWORD4+72+72キャッシュ遷移フォルト回数。
DemandZeroCountDWORD4+76+76ゼロ要求フォルト回数。
PageReadCountDWORD4+80+80ページ読み取り回数。
PageReadIoCountDWORD4+84+84ページ読み取りI/O回数。
CacheReadCountDWORD4+88+88キャッシュ読み取り回数。
CacheIoCountDWORD4+92+92キャッシュI/O回数。
DirtyPagesWriteCountDWORD4+96+96ダーティページ書き込み回数。
DirtyWriteIoCountDWORD4+100+100ダーティ書き込みI/O回数。
MappedPagesWriteCountDWORD4+104+104マップ済みページ書き込み回数。
MappedWriteIoCountDWORD4+108+108マップ済み書き込みI/O回数。
PagedPoolPagesDWORD4+112+112ページプールのページ数。
NonPagedPoolPagesDWORD4+116+116非ページプールのページ数。
PagedPoolAllocsDWORD4+120+120ページプールの割り当て回数。
PagedPoolFreesDWORD4+124+124ページプールの解放回数。
NonPagedPoolAllocsDWORD4+128+128非ページプールの割り当て回数。
NonPagedPoolFreesDWORD4+132+132非ページプールの解放回数。
FreeSystemPtesDWORD4+136+136空きシステムPTE数。
ResidentSystemCodePageDWORD4+140+140常駐システムコードページ数。
TotalSystemDriverPagesDWORD4+144+144システムドライバの総ページ数。
TotalSystemCodePagesDWORD4+148+148システムコードの総ページ数。
NonPagedPoolLookasideHitsDWORD4+152+152非ページプールルックアサイドのヒット数。
PagedPoolLookasideHitsDWORD4+156+156ページプールルックアサイドのヒット数。
AvailablePagedPoolPagesDWORD4+160+160利用可能なページプールページ数。
ResidentSystemCachePageDWORD4+164+164常駐システムキャッシュページ数。
ResidentPagedPoolPageDWORD4+168+168常駐ページプールページ数。
ResidentSystemDriverPageDWORD4+172+172常駐システムドライバページ数。
CcFastReadNoWaitDWORD4+176+176キャッシュ高速読み取り(待機なし)回数。
CcFastReadWaitDWORD4+180+180キャッシュ高速読み取り(待機あり)回数。
CcFastReadResourceMissDWORD4+184+184キャッシュ高速読み取りのリソースミス回数。
CcFastReadNotPossibleDWORD4+188+188キャッシュ高速読み取り不可回数。
CcFastMdlReadNoWaitDWORD4+192+192MDL高速読み取り(待機なし)回数。
CcFastMdlReadWaitDWORD4+196+196MDL高速読み取り(待機あり)回数。
CcFastMdlReadResourceMissDWORD4+200+200MDL高速読み取りのリソースミス回数。
CcFastMdlReadNotPossibleDWORD4+204+204MDL高速読み取り不可回数。
CcMapDataNoWaitDWORD4+208+208データマップ(待機なし)回数。
CcMapDataWaitDWORD4+212+212データマップ(待機あり)回数。
CcMapDataNoWaitMissDWORD4+216+216データマップ(待機なし)のミス回数。
CcMapDataWaitMissDWORD4+220+220データマップ(待機あり)のミス回数。
CcPinMappedDataCountDWORD4+224+224マップ済みデータのピン留め回数。
CcPinReadNoWaitDWORD4+228+228ピン読み取り(待機なし)回数。
CcPinReadWaitDWORD4+232+232ピン読み取り(待機あり)回数。
CcPinReadNoWaitMissDWORD4+236+236ピン読み取り(待機なし)のミス回数。
CcPinReadWaitMissDWORD4+240+240ピン読み取り(待機あり)のミス回数。
CcCopyReadNoWaitDWORD4+244+244コピー読み取り(待機なし)回数。
CcCopyReadWaitDWORD4+248+248コピー読み取り(待機あり)回数。
CcCopyReadNoWaitMissDWORD4+252+252コピー読み取り(待機なし)のミス回数。
CcCopyReadWaitMissDWORD4+256+256コピー読み取り(待機あり)のミス回数。
CcMdlReadNoWaitDWORD4+260+260MDL読み取り(待機なし)回数。
CcMdlReadWaitDWORD4+264+264MDL読み取り(待機あり)回数。
CcMdlReadNoWaitMissDWORD4+268+268MDL読み取り(待機なし)のミス回数。
CcMdlReadWaitMissDWORD4+272+272MDL読み取り(待機あり)のミス回数。
CcReadAheadIosDWORD4+276+276先読みI/O回数。
CcLazyWriteIosDWORD4+280+280遅延書き込みI/O回数。
CcLazyWritePagesDWORD4+284+284遅延書き込みページ数。
CcDataFlushesDWORD4+288+288データフラッシュ回数。
CcDataPagesDWORD4+292+292フラッシュされたデータページ数。
ContextSwitchesDWORD4+296+296コンテキストスイッチ回数。
FirstLevelTbFillsDWORD4+300+300第1レベルTLB充填回数。
SecondLevelTbFillsDWORD4+304+304第2レベルTLB充填回数。
SystemCallsDWORD4+308+308システムコール回数。
CcTotalDirtyPagesULONGLONG8+312+312キャッシュの総ダーティページ数。
CcDirtyPageThresholdULONGLONG8+320+320ダーティページの閾値。
ResidentAvailablePagesLONGLONG8+328+328常駐可能な利用可能ページ数(符号付き)。
SharedCommittedPagesULONGLONG8+336+336共有コミット済みページ数。

各言語での定義

#include <windows.h>

// MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION  (x64 344 / x86 344 バイト)
#pragma pack(push, 4)
typedef struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION {
    ULONGLONG IdleProcessTime;
    ULONGLONG IoReadTransferCount;
    ULONGLONG IoWriteTransferCount;
    ULONGLONG IoOtherTransferCount;
    DWORD IoReadOperationCount;
    DWORD IoWriteOperationCount;
    DWORD IoOtherOperationCount;
    DWORD AvailablePages;
    DWORD CommittedPages;
    DWORD CommitLimit;
    DWORD PeakCommitment;
    DWORD PageFaultCount;
    DWORD CopyOnWriteCount;
    DWORD TransitionCount;
    DWORD CacheTransitionCount;
    DWORD DemandZeroCount;
    DWORD PageReadCount;
    DWORD PageReadIoCount;
    DWORD CacheReadCount;
    DWORD CacheIoCount;
    DWORD DirtyPagesWriteCount;
    DWORD DirtyWriteIoCount;
    DWORD MappedPagesWriteCount;
    DWORD MappedWriteIoCount;
    DWORD PagedPoolPages;
    DWORD NonPagedPoolPages;
    DWORD PagedPoolAllocs;
    DWORD PagedPoolFrees;
    DWORD NonPagedPoolAllocs;
    DWORD NonPagedPoolFrees;
    DWORD FreeSystemPtes;
    DWORD ResidentSystemCodePage;
    DWORD TotalSystemDriverPages;
    DWORD TotalSystemCodePages;
    DWORD NonPagedPoolLookasideHits;
    DWORD PagedPoolLookasideHits;
    DWORD AvailablePagedPoolPages;
    DWORD ResidentSystemCachePage;
    DWORD ResidentPagedPoolPage;
    DWORD ResidentSystemDriverPage;
    DWORD CcFastReadNoWait;
    DWORD CcFastReadWait;
    DWORD CcFastReadResourceMiss;
    DWORD CcFastReadNotPossible;
    DWORD CcFastMdlReadNoWait;
    DWORD CcFastMdlReadWait;
    DWORD CcFastMdlReadResourceMiss;
    DWORD CcFastMdlReadNotPossible;
    DWORD CcMapDataNoWait;
    DWORD CcMapDataWait;
    DWORD CcMapDataNoWaitMiss;
    DWORD CcMapDataWaitMiss;
    DWORD CcPinMappedDataCount;
    DWORD CcPinReadNoWait;
    DWORD CcPinReadWait;
    DWORD CcPinReadNoWaitMiss;
    DWORD CcPinReadWaitMiss;
    DWORD CcCopyReadNoWait;
    DWORD CcCopyReadWait;
    DWORD CcCopyReadNoWaitMiss;
    DWORD CcCopyReadWaitMiss;
    DWORD CcMdlReadNoWait;
    DWORD CcMdlReadWait;
    DWORD CcMdlReadNoWaitMiss;
    DWORD CcMdlReadWaitMiss;
    DWORD CcReadAheadIos;
    DWORD CcLazyWriteIos;
    DWORD CcLazyWritePages;
    DWORD CcDataFlushes;
    DWORD CcDataPages;
    DWORD ContextSwitches;
    DWORD FirstLevelTbFills;
    DWORD SecondLevelTbFills;
    DWORD SystemCalls;
    ULONGLONG CcTotalDirtyPages;
    ULONGLONG CcDirtyPageThreshold;
    LONGLONG ResidentAvailablePages;
    ULONGLONG SharedCommittedPages;
} MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION;
#pragma pack(pop)
using System;
using System.Runtime.InteropServices;

[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
public struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION
{
    public ulong IdleProcessTime;
    public ulong IoReadTransferCount;
    public ulong IoWriteTransferCount;
    public ulong IoOtherTransferCount;
    public uint IoReadOperationCount;
    public uint IoWriteOperationCount;
    public uint IoOtherOperationCount;
    public uint AvailablePages;
    public uint CommittedPages;
    public uint CommitLimit;
    public uint PeakCommitment;
    public uint PageFaultCount;
    public uint CopyOnWriteCount;
    public uint TransitionCount;
    public uint CacheTransitionCount;
    public uint DemandZeroCount;
    public uint PageReadCount;
    public uint PageReadIoCount;
    public uint CacheReadCount;
    public uint CacheIoCount;
    public uint DirtyPagesWriteCount;
    public uint DirtyWriteIoCount;
    public uint MappedPagesWriteCount;
    public uint MappedWriteIoCount;
    public uint PagedPoolPages;
    public uint NonPagedPoolPages;
    public uint PagedPoolAllocs;
    public uint PagedPoolFrees;
    public uint NonPagedPoolAllocs;
    public uint NonPagedPoolFrees;
    public uint FreeSystemPtes;
    public uint ResidentSystemCodePage;
    public uint TotalSystemDriverPages;
    public uint TotalSystemCodePages;
    public uint NonPagedPoolLookasideHits;
    public uint PagedPoolLookasideHits;
    public uint AvailablePagedPoolPages;
    public uint ResidentSystemCachePage;
    public uint ResidentPagedPoolPage;
    public uint ResidentSystemDriverPage;
    public uint CcFastReadNoWait;
    public uint CcFastReadWait;
    public uint CcFastReadResourceMiss;
    public uint CcFastReadNotPossible;
    public uint CcFastMdlReadNoWait;
    public uint CcFastMdlReadWait;
    public uint CcFastMdlReadResourceMiss;
    public uint CcFastMdlReadNotPossible;
    public uint CcMapDataNoWait;
    public uint CcMapDataWait;
    public uint CcMapDataNoWaitMiss;
    public uint CcMapDataWaitMiss;
    public uint CcPinMappedDataCount;
    public uint CcPinReadNoWait;
    public uint CcPinReadWait;
    public uint CcPinReadNoWaitMiss;
    public uint CcPinReadWaitMiss;
    public uint CcCopyReadNoWait;
    public uint CcCopyReadWait;
    public uint CcCopyReadNoWaitMiss;
    public uint CcCopyReadWaitMiss;
    public uint CcMdlReadNoWait;
    public uint CcMdlReadWait;
    public uint CcMdlReadNoWaitMiss;
    public uint CcMdlReadWaitMiss;
    public uint CcReadAheadIos;
    public uint CcLazyWriteIos;
    public uint CcLazyWritePages;
    public uint CcDataFlushes;
    public uint CcDataPages;
    public uint ContextSwitches;
    public uint FirstLevelTbFills;
    public uint SecondLevelTbFills;
    public uint SystemCalls;
    public ulong CcTotalDirtyPages;
    public ulong CcDirtyPageThreshold;
    public long ResidentAvailablePages;
    public ulong SharedCommittedPages;
}
Imports System.Runtime.InteropServices

<StructLayout(LayoutKind.Sequential, Pack:=4, CharSet:=CharSet.Unicode)>
Public Structure MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION
    Public IdleProcessTime As ULong
    Public IoReadTransferCount As ULong
    Public IoWriteTransferCount As ULong
    Public IoOtherTransferCount As ULong
    Public IoReadOperationCount As UInteger
    Public IoWriteOperationCount As UInteger
    Public IoOtherOperationCount As UInteger
    Public AvailablePages As UInteger
    Public CommittedPages As UInteger
    Public CommitLimit As UInteger
    Public PeakCommitment As UInteger
    Public PageFaultCount As UInteger
    Public CopyOnWriteCount As UInteger
    Public TransitionCount As UInteger
    Public CacheTransitionCount As UInteger
    Public DemandZeroCount As UInteger
    Public PageReadCount As UInteger
    Public PageReadIoCount As UInteger
    Public CacheReadCount As UInteger
    Public CacheIoCount As UInteger
    Public DirtyPagesWriteCount As UInteger
    Public DirtyWriteIoCount As UInteger
    Public MappedPagesWriteCount As UInteger
    Public MappedWriteIoCount As UInteger
    Public PagedPoolPages As UInteger
    Public NonPagedPoolPages As UInteger
    Public PagedPoolAllocs As UInteger
    Public PagedPoolFrees As UInteger
    Public NonPagedPoolAllocs As UInteger
    Public NonPagedPoolFrees As UInteger
    Public FreeSystemPtes As UInteger
    Public ResidentSystemCodePage As UInteger
    Public TotalSystemDriverPages As UInteger
    Public TotalSystemCodePages As UInteger
    Public NonPagedPoolLookasideHits As UInteger
    Public PagedPoolLookasideHits As UInteger
    Public AvailablePagedPoolPages As UInteger
    Public ResidentSystemCachePage As UInteger
    Public ResidentPagedPoolPage As UInteger
    Public ResidentSystemDriverPage As UInteger
    Public CcFastReadNoWait As UInteger
    Public CcFastReadWait As UInteger
    Public CcFastReadResourceMiss As UInteger
    Public CcFastReadNotPossible As UInteger
    Public CcFastMdlReadNoWait As UInteger
    Public CcFastMdlReadWait As UInteger
    Public CcFastMdlReadResourceMiss As UInteger
    Public CcFastMdlReadNotPossible As UInteger
    Public CcMapDataNoWait As UInteger
    Public CcMapDataWait As UInteger
    Public CcMapDataNoWaitMiss As UInteger
    Public CcMapDataWaitMiss As UInteger
    Public CcPinMappedDataCount As UInteger
    Public CcPinReadNoWait As UInteger
    Public CcPinReadWait As UInteger
    Public CcPinReadNoWaitMiss As UInteger
    Public CcPinReadWaitMiss As UInteger
    Public CcCopyReadNoWait As UInteger
    Public CcCopyReadWait As UInteger
    Public CcCopyReadNoWaitMiss As UInteger
    Public CcCopyReadWaitMiss As UInteger
    Public CcMdlReadNoWait As UInteger
    Public CcMdlReadWait As UInteger
    Public CcMdlReadNoWaitMiss As UInteger
    Public CcMdlReadWaitMiss As UInteger
    Public CcReadAheadIos As UInteger
    Public CcLazyWriteIos As UInteger
    Public CcLazyWritePages As UInteger
    Public CcDataFlushes As UInteger
    Public CcDataPages As UInteger
    Public ContextSwitches As UInteger
    Public FirstLevelTbFills As UInteger
    Public SecondLevelTbFills As UInteger
    Public SystemCalls As UInteger
    Public CcTotalDirtyPages As ULong
    Public CcDirtyPageThreshold As ULong
    Public ResidentAvailablePages As Long
    Public SharedCommittedPages As ULong
End Structure
import ctypes
from ctypes import wintypes

class MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION(ctypes.Structure):
    _pack_ = 4
    _fields_ = [
        ("IdleProcessTime", ctypes.c_ulonglong),
        ("IoReadTransferCount", ctypes.c_ulonglong),
        ("IoWriteTransferCount", ctypes.c_ulonglong),
        ("IoOtherTransferCount", ctypes.c_ulonglong),
        ("IoReadOperationCount", wintypes.DWORD),
        ("IoWriteOperationCount", wintypes.DWORD),
        ("IoOtherOperationCount", wintypes.DWORD),
        ("AvailablePages", wintypes.DWORD),
        ("CommittedPages", wintypes.DWORD),
        ("CommitLimit", wintypes.DWORD),
        ("PeakCommitment", wintypes.DWORD),
        ("PageFaultCount", wintypes.DWORD),
        ("CopyOnWriteCount", wintypes.DWORD),
        ("TransitionCount", wintypes.DWORD),
        ("CacheTransitionCount", wintypes.DWORD),
        ("DemandZeroCount", wintypes.DWORD),
        ("PageReadCount", wintypes.DWORD),
        ("PageReadIoCount", wintypes.DWORD),
        ("CacheReadCount", wintypes.DWORD),
        ("CacheIoCount", wintypes.DWORD),
        ("DirtyPagesWriteCount", wintypes.DWORD),
        ("DirtyWriteIoCount", wintypes.DWORD),
        ("MappedPagesWriteCount", wintypes.DWORD),
        ("MappedWriteIoCount", wintypes.DWORD),
        ("PagedPoolPages", wintypes.DWORD),
        ("NonPagedPoolPages", wintypes.DWORD),
        ("PagedPoolAllocs", wintypes.DWORD),
        ("PagedPoolFrees", wintypes.DWORD),
        ("NonPagedPoolAllocs", wintypes.DWORD),
        ("NonPagedPoolFrees", wintypes.DWORD),
        ("FreeSystemPtes", wintypes.DWORD),
        ("ResidentSystemCodePage", wintypes.DWORD),
        ("TotalSystemDriverPages", wintypes.DWORD),
        ("TotalSystemCodePages", wintypes.DWORD),
        ("NonPagedPoolLookasideHits", wintypes.DWORD),
        ("PagedPoolLookasideHits", wintypes.DWORD),
        ("AvailablePagedPoolPages", wintypes.DWORD),
        ("ResidentSystemCachePage", wintypes.DWORD),
        ("ResidentPagedPoolPage", wintypes.DWORD),
        ("ResidentSystemDriverPage", wintypes.DWORD),
        ("CcFastReadNoWait", wintypes.DWORD),
        ("CcFastReadWait", wintypes.DWORD),
        ("CcFastReadResourceMiss", wintypes.DWORD),
        ("CcFastReadNotPossible", wintypes.DWORD),
        ("CcFastMdlReadNoWait", wintypes.DWORD),
        ("CcFastMdlReadWait", wintypes.DWORD),
        ("CcFastMdlReadResourceMiss", wintypes.DWORD),
        ("CcFastMdlReadNotPossible", wintypes.DWORD),
        ("CcMapDataNoWait", wintypes.DWORD),
        ("CcMapDataWait", wintypes.DWORD),
        ("CcMapDataNoWaitMiss", wintypes.DWORD),
        ("CcMapDataWaitMiss", wintypes.DWORD),
        ("CcPinMappedDataCount", wintypes.DWORD),
        ("CcPinReadNoWait", wintypes.DWORD),
        ("CcPinReadWait", wintypes.DWORD),
        ("CcPinReadNoWaitMiss", wintypes.DWORD),
        ("CcPinReadWaitMiss", wintypes.DWORD),
        ("CcCopyReadNoWait", wintypes.DWORD),
        ("CcCopyReadWait", wintypes.DWORD),
        ("CcCopyReadNoWaitMiss", wintypes.DWORD),
        ("CcCopyReadWaitMiss", wintypes.DWORD),
        ("CcMdlReadNoWait", wintypes.DWORD),
        ("CcMdlReadWait", wintypes.DWORD),
        ("CcMdlReadNoWaitMiss", wintypes.DWORD),
        ("CcMdlReadWaitMiss", wintypes.DWORD),
        ("CcReadAheadIos", wintypes.DWORD),
        ("CcLazyWriteIos", wintypes.DWORD),
        ("CcLazyWritePages", wintypes.DWORD),
        ("CcDataFlushes", wintypes.DWORD),
        ("CcDataPages", wintypes.DWORD),
        ("ContextSwitches", wintypes.DWORD),
        ("FirstLevelTbFills", wintypes.DWORD),
        ("SecondLevelTbFills", wintypes.DWORD),
        ("SystemCalls", wintypes.DWORD),
        ("CcTotalDirtyPages", ctypes.c_ulonglong),
        ("CcDirtyPageThreshold", ctypes.c_ulonglong),
        ("ResidentAvailablePages", ctypes.c_longlong),
        ("SharedCommittedPages", ctypes.c_ulonglong),
    ]
#[repr(C, packed(4))]
pub struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION {
    pub IdleProcessTime: u64,
    pub IoReadTransferCount: u64,
    pub IoWriteTransferCount: u64,
    pub IoOtherTransferCount: u64,
    pub IoReadOperationCount: u32,
    pub IoWriteOperationCount: u32,
    pub IoOtherOperationCount: u32,
    pub AvailablePages: u32,
    pub CommittedPages: u32,
    pub CommitLimit: u32,
    pub PeakCommitment: u32,
    pub PageFaultCount: u32,
    pub CopyOnWriteCount: u32,
    pub TransitionCount: u32,
    pub CacheTransitionCount: u32,
    pub DemandZeroCount: u32,
    pub PageReadCount: u32,
    pub PageReadIoCount: u32,
    pub CacheReadCount: u32,
    pub CacheIoCount: u32,
    pub DirtyPagesWriteCount: u32,
    pub DirtyWriteIoCount: u32,
    pub MappedPagesWriteCount: u32,
    pub MappedWriteIoCount: u32,
    pub PagedPoolPages: u32,
    pub NonPagedPoolPages: u32,
    pub PagedPoolAllocs: u32,
    pub PagedPoolFrees: u32,
    pub NonPagedPoolAllocs: u32,
    pub NonPagedPoolFrees: u32,
    pub FreeSystemPtes: u32,
    pub ResidentSystemCodePage: u32,
    pub TotalSystemDriverPages: u32,
    pub TotalSystemCodePages: u32,
    pub NonPagedPoolLookasideHits: u32,
    pub PagedPoolLookasideHits: u32,
    pub AvailablePagedPoolPages: u32,
    pub ResidentSystemCachePage: u32,
    pub ResidentPagedPoolPage: u32,
    pub ResidentSystemDriverPage: u32,
    pub CcFastReadNoWait: u32,
    pub CcFastReadWait: u32,
    pub CcFastReadResourceMiss: u32,
    pub CcFastReadNotPossible: u32,
    pub CcFastMdlReadNoWait: u32,
    pub CcFastMdlReadWait: u32,
    pub CcFastMdlReadResourceMiss: u32,
    pub CcFastMdlReadNotPossible: u32,
    pub CcMapDataNoWait: u32,
    pub CcMapDataWait: u32,
    pub CcMapDataNoWaitMiss: u32,
    pub CcMapDataWaitMiss: u32,
    pub CcPinMappedDataCount: u32,
    pub CcPinReadNoWait: u32,
    pub CcPinReadWait: u32,
    pub CcPinReadNoWaitMiss: u32,
    pub CcPinReadWaitMiss: u32,
    pub CcCopyReadNoWait: u32,
    pub CcCopyReadWait: u32,
    pub CcCopyReadNoWaitMiss: u32,
    pub CcCopyReadWaitMiss: u32,
    pub CcMdlReadNoWait: u32,
    pub CcMdlReadWait: u32,
    pub CcMdlReadNoWaitMiss: u32,
    pub CcMdlReadWaitMiss: u32,
    pub CcReadAheadIos: u32,
    pub CcLazyWriteIos: u32,
    pub CcLazyWritePages: u32,
    pub CcDataFlushes: u32,
    pub CcDataPages: u32,
    pub ContextSwitches: u32,
    pub FirstLevelTbFills: u32,
    pub SecondLevelTbFills: u32,
    pub SystemCalls: u32,
    pub CcTotalDirtyPages: u64,
    pub CcDirtyPageThreshold: u64,
    pub ResidentAvailablePages: i64,
    pub SharedCommittedPages: u64,
}
import "golang.org/x/sys/windows"

type MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION struct {
	IdleProcessTime uint64
	IoReadTransferCount uint64
	IoWriteTransferCount uint64
	IoOtherTransferCount uint64
	IoReadOperationCount uint32
	IoWriteOperationCount uint32
	IoOtherOperationCount uint32
	AvailablePages uint32
	CommittedPages uint32
	CommitLimit uint32
	PeakCommitment uint32
	PageFaultCount uint32
	CopyOnWriteCount uint32
	TransitionCount uint32
	CacheTransitionCount uint32
	DemandZeroCount uint32
	PageReadCount uint32
	PageReadIoCount uint32
	CacheReadCount uint32
	CacheIoCount uint32
	DirtyPagesWriteCount uint32
	DirtyWriteIoCount uint32
	MappedPagesWriteCount uint32
	MappedWriteIoCount uint32
	PagedPoolPages uint32
	NonPagedPoolPages uint32
	PagedPoolAllocs uint32
	PagedPoolFrees uint32
	NonPagedPoolAllocs uint32
	NonPagedPoolFrees uint32
	FreeSystemPtes uint32
	ResidentSystemCodePage uint32
	TotalSystemDriverPages uint32
	TotalSystemCodePages uint32
	NonPagedPoolLookasideHits uint32
	PagedPoolLookasideHits uint32
	AvailablePagedPoolPages uint32
	ResidentSystemCachePage uint32
	ResidentPagedPoolPage uint32
	ResidentSystemDriverPage uint32
	CcFastReadNoWait uint32
	CcFastReadWait uint32
	CcFastReadResourceMiss uint32
	CcFastReadNotPossible uint32
	CcFastMdlReadNoWait uint32
	CcFastMdlReadWait uint32
	CcFastMdlReadResourceMiss uint32
	CcFastMdlReadNotPossible uint32
	CcMapDataNoWait uint32
	CcMapDataWait uint32
	CcMapDataNoWaitMiss uint32
	CcMapDataWaitMiss uint32
	CcPinMappedDataCount uint32
	CcPinReadNoWait uint32
	CcPinReadWait uint32
	CcPinReadNoWaitMiss uint32
	CcPinReadWaitMiss uint32
	CcCopyReadNoWait uint32
	CcCopyReadWait uint32
	CcCopyReadNoWaitMiss uint32
	CcCopyReadWaitMiss uint32
	CcMdlReadNoWait uint32
	CcMdlReadWait uint32
	CcMdlReadNoWaitMiss uint32
	CcMdlReadWaitMiss uint32
	CcReadAheadIos uint32
	CcLazyWriteIos uint32
	CcLazyWritePages uint32
	CcDataFlushes uint32
	CcDataPages uint32
	ContextSwitches uint32
	FirstLevelTbFills uint32
	SecondLevelTbFills uint32
	SystemCalls uint32
	CcTotalDirtyPages uint64
	CcDirtyPageThreshold uint64
	ResidentAvailablePages int64
	SharedCommittedPages uint64
}
type
  MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION = packed record
    IdleProcessTime: UInt64;
    IoReadTransferCount: UInt64;
    IoWriteTransferCount: UInt64;
    IoOtherTransferCount: UInt64;
    IoReadOperationCount: DWORD;
    IoWriteOperationCount: DWORD;
    IoOtherOperationCount: DWORD;
    AvailablePages: DWORD;
    CommittedPages: DWORD;
    CommitLimit: DWORD;
    PeakCommitment: DWORD;
    PageFaultCount: DWORD;
    CopyOnWriteCount: DWORD;
    TransitionCount: DWORD;
    CacheTransitionCount: DWORD;
    DemandZeroCount: DWORD;
    PageReadCount: DWORD;
    PageReadIoCount: DWORD;
    CacheReadCount: DWORD;
    CacheIoCount: DWORD;
    DirtyPagesWriteCount: DWORD;
    DirtyWriteIoCount: DWORD;
    MappedPagesWriteCount: DWORD;
    MappedWriteIoCount: DWORD;
    PagedPoolPages: DWORD;
    NonPagedPoolPages: DWORD;
    PagedPoolAllocs: DWORD;
    PagedPoolFrees: DWORD;
    NonPagedPoolAllocs: DWORD;
    NonPagedPoolFrees: DWORD;
    FreeSystemPtes: DWORD;
    ResidentSystemCodePage: DWORD;
    TotalSystemDriverPages: DWORD;
    TotalSystemCodePages: DWORD;
    NonPagedPoolLookasideHits: DWORD;
    PagedPoolLookasideHits: DWORD;
    AvailablePagedPoolPages: DWORD;
    ResidentSystemCachePage: DWORD;
    ResidentPagedPoolPage: DWORD;
    ResidentSystemDriverPage: DWORD;
    CcFastReadNoWait: DWORD;
    CcFastReadWait: DWORD;
    CcFastReadResourceMiss: DWORD;
    CcFastReadNotPossible: DWORD;
    CcFastMdlReadNoWait: DWORD;
    CcFastMdlReadWait: DWORD;
    CcFastMdlReadResourceMiss: DWORD;
    CcFastMdlReadNotPossible: DWORD;
    CcMapDataNoWait: DWORD;
    CcMapDataWait: DWORD;
    CcMapDataNoWaitMiss: DWORD;
    CcMapDataWaitMiss: DWORD;
    CcPinMappedDataCount: DWORD;
    CcPinReadNoWait: DWORD;
    CcPinReadWait: DWORD;
    CcPinReadNoWaitMiss: DWORD;
    CcPinReadWaitMiss: DWORD;
    CcCopyReadNoWait: DWORD;
    CcCopyReadWait: DWORD;
    CcCopyReadNoWaitMiss: DWORD;
    CcCopyReadWaitMiss: DWORD;
    CcMdlReadNoWait: DWORD;
    CcMdlReadWait: DWORD;
    CcMdlReadNoWaitMiss: DWORD;
    CcMdlReadWaitMiss: DWORD;
    CcReadAheadIos: DWORD;
    CcLazyWriteIos: DWORD;
    CcLazyWritePages: DWORD;
    CcDataFlushes: DWORD;
    CcDataPages: DWORD;
    ContextSwitches: DWORD;
    FirstLevelTbFills: DWORD;
    SecondLevelTbFills: DWORD;
    SystemCalls: DWORD;
    CcTotalDirtyPages: UInt64;
    CcDirtyPageThreshold: UInt64;
    ResidentAvailablePages: Int64;
    SharedCommittedPages: UInt64;
  end;
const MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION = extern struct {
    IdleProcessTime: u64,
    IoReadTransferCount: u64,
    IoWriteTransferCount: u64,
    IoOtherTransferCount: u64,
    IoReadOperationCount: u32,
    IoWriteOperationCount: u32,
    IoOtherOperationCount: u32,
    AvailablePages: u32,
    CommittedPages: u32,
    CommitLimit: u32,
    PeakCommitment: u32,
    PageFaultCount: u32,
    CopyOnWriteCount: u32,
    TransitionCount: u32,
    CacheTransitionCount: u32,
    DemandZeroCount: u32,
    PageReadCount: u32,
    PageReadIoCount: u32,
    CacheReadCount: u32,
    CacheIoCount: u32,
    DirtyPagesWriteCount: u32,
    DirtyWriteIoCount: u32,
    MappedPagesWriteCount: u32,
    MappedWriteIoCount: u32,
    PagedPoolPages: u32,
    NonPagedPoolPages: u32,
    PagedPoolAllocs: u32,
    PagedPoolFrees: u32,
    NonPagedPoolAllocs: u32,
    NonPagedPoolFrees: u32,
    FreeSystemPtes: u32,
    ResidentSystemCodePage: u32,
    TotalSystemDriverPages: u32,
    TotalSystemCodePages: u32,
    NonPagedPoolLookasideHits: u32,
    PagedPoolLookasideHits: u32,
    AvailablePagedPoolPages: u32,
    ResidentSystemCachePage: u32,
    ResidentPagedPoolPage: u32,
    ResidentSystemDriverPage: u32,
    CcFastReadNoWait: u32,
    CcFastReadWait: u32,
    CcFastReadResourceMiss: u32,
    CcFastReadNotPossible: u32,
    CcFastMdlReadNoWait: u32,
    CcFastMdlReadWait: u32,
    CcFastMdlReadResourceMiss: u32,
    CcFastMdlReadNotPossible: u32,
    CcMapDataNoWait: u32,
    CcMapDataWait: u32,
    CcMapDataNoWaitMiss: u32,
    CcMapDataWaitMiss: u32,
    CcPinMappedDataCount: u32,
    CcPinReadNoWait: u32,
    CcPinReadWait: u32,
    CcPinReadNoWaitMiss: u32,
    CcPinReadWaitMiss: u32,
    CcCopyReadNoWait: u32,
    CcCopyReadWait: u32,
    CcCopyReadNoWaitMiss: u32,
    CcCopyReadWaitMiss: u32,
    CcMdlReadNoWait: u32,
    CcMdlReadWait: u32,
    CcMdlReadNoWaitMiss: u32,
    CcMdlReadWaitMiss: u32,
    CcReadAheadIos: u32,
    CcLazyWriteIos: u32,
    CcLazyWritePages: u32,
    CcDataFlushes: u32,
    CcDataPages: u32,
    ContextSwitches: u32,
    FirstLevelTbFills: u32,
    SecondLevelTbFills: u32,
    SystemCalls: u32,
    CcTotalDirtyPages: u64,
    CcDirtyPageThreshold: u64,
    ResidentAvailablePages: i64,
    SharedCommittedPages: u64,
};
type
  MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION {.packed.} = object
    IdleProcessTime: uint64
    IoReadTransferCount: uint64
    IoWriteTransferCount: uint64
    IoOtherTransferCount: uint64
    IoReadOperationCount: uint32
    IoWriteOperationCount: uint32
    IoOtherOperationCount: uint32
    AvailablePages: uint32
    CommittedPages: uint32
    CommitLimit: uint32
    PeakCommitment: uint32
    PageFaultCount: uint32
    CopyOnWriteCount: uint32
    TransitionCount: uint32
    CacheTransitionCount: uint32
    DemandZeroCount: uint32
    PageReadCount: uint32
    PageReadIoCount: uint32
    CacheReadCount: uint32
    CacheIoCount: uint32
    DirtyPagesWriteCount: uint32
    DirtyWriteIoCount: uint32
    MappedPagesWriteCount: uint32
    MappedWriteIoCount: uint32
    PagedPoolPages: uint32
    NonPagedPoolPages: uint32
    PagedPoolAllocs: uint32
    PagedPoolFrees: uint32
    NonPagedPoolAllocs: uint32
    NonPagedPoolFrees: uint32
    FreeSystemPtes: uint32
    ResidentSystemCodePage: uint32
    TotalSystemDriverPages: uint32
    TotalSystemCodePages: uint32
    NonPagedPoolLookasideHits: uint32
    PagedPoolLookasideHits: uint32
    AvailablePagedPoolPages: uint32
    ResidentSystemCachePage: uint32
    ResidentPagedPoolPage: uint32
    ResidentSystemDriverPage: uint32
    CcFastReadNoWait: uint32
    CcFastReadWait: uint32
    CcFastReadResourceMiss: uint32
    CcFastReadNotPossible: uint32
    CcFastMdlReadNoWait: uint32
    CcFastMdlReadWait: uint32
    CcFastMdlReadResourceMiss: uint32
    CcFastMdlReadNotPossible: uint32
    CcMapDataNoWait: uint32
    CcMapDataWait: uint32
    CcMapDataNoWaitMiss: uint32
    CcMapDataWaitMiss: uint32
    CcPinMappedDataCount: uint32
    CcPinReadNoWait: uint32
    CcPinReadWait: uint32
    CcPinReadNoWaitMiss: uint32
    CcPinReadWaitMiss: uint32
    CcCopyReadNoWait: uint32
    CcCopyReadWait: uint32
    CcCopyReadNoWaitMiss: uint32
    CcCopyReadWaitMiss: uint32
    CcMdlReadNoWait: uint32
    CcMdlReadWait: uint32
    CcMdlReadNoWaitMiss: uint32
    CcMdlReadWaitMiss: uint32
    CcReadAheadIos: uint32
    CcLazyWriteIos: uint32
    CcLazyWritePages: uint32
    CcDataFlushes: uint32
    CcDataPages: uint32
    ContextSwitches: uint32
    FirstLevelTbFills: uint32
    SecondLevelTbFills: uint32
    SystemCalls: uint32
    CcTotalDirtyPages: uint64
    CcDirtyPageThreshold: uint64
    ResidentAvailablePages: int64
    SharedCommittedPages: uint64
align(4)
struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION
{
    ulong IdleProcessTime;
    ulong IoReadTransferCount;
    ulong IoWriteTransferCount;
    ulong IoOtherTransferCount;
    uint IoReadOperationCount;
    uint IoWriteOperationCount;
    uint IoOtherOperationCount;
    uint AvailablePages;
    uint CommittedPages;
    uint CommitLimit;
    uint PeakCommitment;
    uint PageFaultCount;
    uint CopyOnWriteCount;
    uint TransitionCount;
    uint CacheTransitionCount;
    uint DemandZeroCount;
    uint PageReadCount;
    uint PageReadIoCount;
    uint CacheReadCount;
    uint CacheIoCount;
    uint DirtyPagesWriteCount;
    uint DirtyWriteIoCount;
    uint MappedPagesWriteCount;
    uint MappedWriteIoCount;
    uint PagedPoolPages;
    uint NonPagedPoolPages;
    uint PagedPoolAllocs;
    uint PagedPoolFrees;
    uint NonPagedPoolAllocs;
    uint NonPagedPoolFrees;
    uint FreeSystemPtes;
    uint ResidentSystemCodePage;
    uint TotalSystemDriverPages;
    uint TotalSystemCodePages;
    uint NonPagedPoolLookasideHits;
    uint PagedPoolLookasideHits;
    uint AvailablePagedPoolPages;
    uint ResidentSystemCachePage;
    uint ResidentPagedPoolPage;
    uint ResidentSystemDriverPage;
    uint CcFastReadNoWait;
    uint CcFastReadWait;
    uint CcFastReadResourceMiss;
    uint CcFastReadNotPossible;
    uint CcFastMdlReadNoWait;
    uint CcFastMdlReadWait;
    uint CcFastMdlReadResourceMiss;
    uint CcFastMdlReadNotPossible;
    uint CcMapDataNoWait;
    uint CcMapDataWait;
    uint CcMapDataNoWaitMiss;
    uint CcMapDataWaitMiss;
    uint CcPinMappedDataCount;
    uint CcPinReadNoWait;
    uint CcPinReadWait;
    uint CcPinReadNoWaitMiss;
    uint CcPinReadWaitMiss;
    uint CcCopyReadNoWait;
    uint CcCopyReadWait;
    uint CcCopyReadNoWaitMiss;
    uint CcCopyReadWaitMiss;
    uint CcMdlReadNoWait;
    uint CcMdlReadWait;
    uint CcMdlReadNoWaitMiss;
    uint CcMdlReadWaitMiss;
    uint CcReadAheadIos;
    uint CcLazyWriteIos;
    uint CcLazyWritePages;
    uint CcDataFlushes;
    uint CcDataPages;
    uint ContextSwitches;
    uint FirstLevelTbFills;
    uint SecondLevelTbFills;
    uint SystemCalls;
    ulong CcTotalDirtyPages;
    ulong CcDirtyPageThreshold;
    long ResidentAvailablePages;
    ulong SharedCommittedPages;
}

HSP用 定義

HSP3.7/3.8 は構造体機能が無いため4byte整数配列(dim)+peek/poke で操作(32/64bitでサイズ・位置が異なる場合はタブで分割)。IronHSP は NSTRUCT(#defstruct/stdim/->)で32/64bit共通。

; HSP3.7/3.8 は構造体機能が無いため、4byte整数の配列変数で操作します。(x64 レイアウト)
; MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION サイズ: 344 バイト(x64)
dim st, 86    ; 4byte整数×86(構造体サイズ 344 / 4 切り上げ)
; IdleProcessTime : ULONGLONG (+0, 8byte)  qpoke st,0,値 / qpeek(st,0)  ※IronHSPのみ。3.7/3.8は lpoke st,0,下位 : lpoke st,4,上位
; IoReadTransferCount : ULONGLONG (+8, 8byte)  qpoke st,8,値 / qpeek(st,8)  ※IronHSPのみ。3.7/3.8は lpoke st,8,下位 : lpoke st,12,上位
; IoWriteTransferCount : ULONGLONG (+16, 8byte)  qpoke st,16,値 / qpeek(st,16)  ※IronHSPのみ。3.7/3.8は lpoke st,16,下位 : lpoke st,20,上位
; IoOtherTransferCount : ULONGLONG (+24, 8byte)  qpoke st,24,値 / qpeek(st,24)  ※IronHSPのみ。3.7/3.8は lpoke st,24,下位 : lpoke st,28,上位
; IoReadOperationCount : DWORD (+32, 4byte)  st.8 = 値  /  値 = st.8   (lpoke/lpeek も可)
; IoWriteOperationCount : DWORD (+36, 4byte)  st.9 = 値  /  値 = st.9   (lpoke/lpeek も可)
; IoOtherOperationCount : DWORD (+40, 4byte)  st.10 = 値  /  値 = st.10   (lpoke/lpeek も可)
; AvailablePages : DWORD (+44, 4byte)  st.11 = 値  /  値 = st.11   (lpoke/lpeek も可)
; CommittedPages : DWORD (+48, 4byte)  st.12 = 値  /  値 = st.12   (lpoke/lpeek も可)
; CommitLimit : DWORD (+52, 4byte)  st.13 = 値  /  値 = st.13   (lpoke/lpeek も可)
; PeakCommitment : DWORD (+56, 4byte)  st.14 = 値  /  値 = st.14   (lpoke/lpeek も可)
; PageFaultCount : DWORD (+60, 4byte)  st.15 = 値  /  値 = st.15   (lpoke/lpeek も可)
; CopyOnWriteCount : DWORD (+64, 4byte)  st.16 = 値  /  値 = st.16   (lpoke/lpeek も可)
; TransitionCount : DWORD (+68, 4byte)  st.17 = 値  /  値 = st.17   (lpoke/lpeek も可)
; CacheTransitionCount : DWORD (+72, 4byte)  st.18 = 値  /  値 = st.18   (lpoke/lpeek も可)
; DemandZeroCount : DWORD (+76, 4byte)  st.19 = 値  /  値 = st.19   (lpoke/lpeek も可)
; PageReadCount : DWORD (+80, 4byte)  st.20 = 値  /  値 = st.20   (lpoke/lpeek も可)
; PageReadIoCount : DWORD (+84, 4byte)  st.21 = 値  /  値 = st.21   (lpoke/lpeek も可)
; CacheReadCount : DWORD (+88, 4byte)  st.22 = 値  /  値 = st.22   (lpoke/lpeek も可)
; CacheIoCount : DWORD (+92, 4byte)  st.23 = 値  /  値 = st.23   (lpoke/lpeek も可)
; DirtyPagesWriteCount : DWORD (+96, 4byte)  st.24 = 値  /  値 = st.24   (lpoke/lpeek も可)
; DirtyWriteIoCount : DWORD (+100, 4byte)  st.25 = 値  /  値 = st.25   (lpoke/lpeek も可)
; MappedPagesWriteCount : DWORD (+104, 4byte)  st.26 = 値  /  値 = st.26   (lpoke/lpeek も可)
; MappedWriteIoCount : DWORD (+108, 4byte)  st.27 = 値  /  値 = st.27   (lpoke/lpeek も可)
; PagedPoolPages : DWORD (+112, 4byte)  st.28 = 値  /  値 = st.28   (lpoke/lpeek も可)
; NonPagedPoolPages : DWORD (+116, 4byte)  st.29 = 値  /  値 = st.29   (lpoke/lpeek も可)
; PagedPoolAllocs : DWORD (+120, 4byte)  st.30 = 値  /  値 = st.30   (lpoke/lpeek も可)
; PagedPoolFrees : DWORD (+124, 4byte)  st.31 = 値  /  値 = st.31   (lpoke/lpeek も可)
; NonPagedPoolAllocs : DWORD (+128, 4byte)  st.32 = 値  /  値 = st.32   (lpoke/lpeek も可)
; NonPagedPoolFrees : DWORD (+132, 4byte)  st.33 = 値  /  値 = st.33   (lpoke/lpeek も可)
; FreeSystemPtes : DWORD (+136, 4byte)  st.34 = 値  /  値 = st.34   (lpoke/lpeek も可)
; ResidentSystemCodePage : DWORD (+140, 4byte)  st.35 = 値  /  値 = st.35   (lpoke/lpeek も可)
; TotalSystemDriverPages : DWORD (+144, 4byte)  st.36 = 値  /  値 = st.36   (lpoke/lpeek も可)
; TotalSystemCodePages : DWORD (+148, 4byte)  st.37 = 値  /  値 = st.37   (lpoke/lpeek も可)
; NonPagedPoolLookasideHits : DWORD (+152, 4byte)  st.38 = 値  /  値 = st.38   (lpoke/lpeek も可)
; PagedPoolLookasideHits : DWORD (+156, 4byte)  st.39 = 値  /  値 = st.39   (lpoke/lpeek も可)
; AvailablePagedPoolPages : DWORD (+160, 4byte)  st.40 = 値  /  値 = st.40   (lpoke/lpeek も可)
; ResidentSystemCachePage : DWORD (+164, 4byte)  st.41 = 値  /  値 = st.41   (lpoke/lpeek も可)
; ResidentPagedPoolPage : DWORD (+168, 4byte)  st.42 = 値  /  値 = st.42   (lpoke/lpeek も可)
; ResidentSystemDriverPage : DWORD (+172, 4byte)  st.43 = 値  /  値 = st.43   (lpoke/lpeek も可)
; CcFastReadNoWait : DWORD (+176, 4byte)  st.44 = 値  /  値 = st.44   (lpoke/lpeek も可)
; CcFastReadWait : DWORD (+180, 4byte)  st.45 = 値  /  値 = st.45   (lpoke/lpeek も可)
; CcFastReadResourceMiss : DWORD (+184, 4byte)  st.46 = 値  /  値 = st.46   (lpoke/lpeek も可)
; CcFastReadNotPossible : DWORD (+188, 4byte)  st.47 = 値  /  値 = st.47   (lpoke/lpeek も可)
; CcFastMdlReadNoWait : DWORD (+192, 4byte)  st.48 = 値  /  値 = st.48   (lpoke/lpeek も可)
; CcFastMdlReadWait : DWORD (+196, 4byte)  st.49 = 値  /  値 = st.49   (lpoke/lpeek も可)
; CcFastMdlReadResourceMiss : DWORD (+200, 4byte)  st.50 = 値  /  値 = st.50   (lpoke/lpeek も可)
; CcFastMdlReadNotPossible : DWORD (+204, 4byte)  st.51 = 値  /  値 = st.51   (lpoke/lpeek も可)
; CcMapDataNoWait : DWORD (+208, 4byte)  st.52 = 値  /  値 = st.52   (lpoke/lpeek も可)
; CcMapDataWait : DWORD (+212, 4byte)  st.53 = 値  /  値 = st.53   (lpoke/lpeek も可)
; CcMapDataNoWaitMiss : DWORD (+216, 4byte)  st.54 = 値  /  値 = st.54   (lpoke/lpeek も可)
; CcMapDataWaitMiss : DWORD (+220, 4byte)  st.55 = 値  /  値 = st.55   (lpoke/lpeek も可)
; CcPinMappedDataCount : DWORD (+224, 4byte)  st.56 = 値  /  値 = st.56   (lpoke/lpeek も可)
; CcPinReadNoWait : DWORD (+228, 4byte)  st.57 = 値  /  値 = st.57   (lpoke/lpeek も可)
; CcPinReadWait : DWORD (+232, 4byte)  st.58 = 値  /  値 = st.58   (lpoke/lpeek も可)
; CcPinReadNoWaitMiss : DWORD (+236, 4byte)  st.59 = 値  /  値 = st.59   (lpoke/lpeek も可)
; CcPinReadWaitMiss : DWORD (+240, 4byte)  st.60 = 値  /  値 = st.60   (lpoke/lpeek も可)
; CcCopyReadNoWait : DWORD (+244, 4byte)  st.61 = 値  /  値 = st.61   (lpoke/lpeek も可)
; CcCopyReadWait : DWORD (+248, 4byte)  st.62 = 値  /  値 = st.62   (lpoke/lpeek も可)
; CcCopyReadNoWaitMiss : DWORD (+252, 4byte)  st.63 = 値  /  値 = st.63   (lpoke/lpeek も可)
; CcCopyReadWaitMiss : DWORD (+256, 4byte)  st.64 = 値  /  値 = st.64   (lpoke/lpeek も可)
; CcMdlReadNoWait : DWORD (+260, 4byte)  st.65 = 値  /  値 = st.65   (lpoke/lpeek も可)
; CcMdlReadWait : DWORD (+264, 4byte)  st.66 = 値  /  値 = st.66   (lpoke/lpeek も可)
; CcMdlReadNoWaitMiss : DWORD (+268, 4byte)  st.67 = 値  /  値 = st.67   (lpoke/lpeek も可)
; CcMdlReadWaitMiss : DWORD (+272, 4byte)  st.68 = 値  /  値 = st.68   (lpoke/lpeek も可)
; CcReadAheadIos : DWORD (+276, 4byte)  st.69 = 値  /  値 = st.69   (lpoke/lpeek も可)
; CcLazyWriteIos : DWORD (+280, 4byte)  st.70 = 値  /  値 = st.70   (lpoke/lpeek も可)
; CcLazyWritePages : DWORD (+284, 4byte)  st.71 = 値  /  値 = st.71   (lpoke/lpeek も可)
; CcDataFlushes : DWORD (+288, 4byte)  st.72 = 値  /  値 = st.72   (lpoke/lpeek も可)
; CcDataPages : DWORD (+292, 4byte)  st.73 = 値  /  値 = st.73   (lpoke/lpeek も可)
; ContextSwitches : DWORD (+296, 4byte)  st.74 = 値  /  値 = st.74   (lpoke/lpeek も可)
; FirstLevelTbFills : DWORD (+300, 4byte)  st.75 = 値  /  値 = st.75   (lpoke/lpeek も可)
; SecondLevelTbFills : DWORD (+304, 4byte)  st.76 = 値  /  値 = st.76   (lpoke/lpeek も可)
; SystemCalls : DWORD (+308, 4byte)  st.77 = 値  /  値 = st.77   (lpoke/lpeek も可)
; CcTotalDirtyPages : ULONGLONG (+312, 8byte)  qpoke st,312,値 / qpeek(st,312)  ※IronHSPのみ。3.7/3.8は lpoke st,312,下位 : lpoke st,316,上位
; CcDirtyPageThreshold : ULONGLONG (+320, 8byte)  qpoke st,320,値 / qpeek(st,320)  ※IronHSPのみ。3.7/3.8は lpoke st,320,下位 : lpoke st,324,上位
; ResidentAvailablePages : LONGLONG (+328, 8byte)  qpoke st,328,値 / qpeek(st,328)  ※IronHSPのみ。3.7/3.8は lpoke st,328,下位 : lpoke st,332,上位
; SharedCommittedPages : ULONGLONG (+336, 8byte)  qpoke st,336,値 / qpeek(st,336)  ※IronHSPのみ。3.7/3.8は lpoke st,336,下位 : lpoke st,340,上位
; ※4byte境界の整数は添字 st.N(N=オフセット/4)で読み書き可。それ以外は peek/poke 系を使用。
; IronHSP は NSTRUCT(構造体)をサポート。32bit/64bit どちらでも同じコードで動作します。
#defstruct global MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION, pack=4
    #field int64 IdleProcessTime
    #field int64 IoReadTransferCount
    #field int64 IoWriteTransferCount
    #field int64 IoOtherTransferCount
    #field int IoReadOperationCount
    #field int IoWriteOperationCount
    #field int IoOtherOperationCount
    #field int AvailablePages
    #field int CommittedPages
    #field int CommitLimit
    #field int PeakCommitment
    #field int PageFaultCount
    #field int CopyOnWriteCount
    #field int TransitionCount
    #field int CacheTransitionCount
    #field int DemandZeroCount
    #field int PageReadCount
    #field int PageReadIoCount
    #field int CacheReadCount
    #field int CacheIoCount
    #field int DirtyPagesWriteCount
    #field int DirtyWriteIoCount
    #field int MappedPagesWriteCount
    #field int MappedWriteIoCount
    #field int PagedPoolPages
    #field int NonPagedPoolPages
    #field int PagedPoolAllocs
    #field int PagedPoolFrees
    #field int NonPagedPoolAllocs
    #field int NonPagedPoolFrees
    #field int FreeSystemPtes
    #field int ResidentSystemCodePage
    #field int TotalSystemDriverPages
    #field int TotalSystemCodePages
    #field int NonPagedPoolLookasideHits
    #field int PagedPoolLookasideHits
    #field int AvailablePagedPoolPages
    #field int ResidentSystemCachePage
    #field int ResidentPagedPoolPage
    #field int ResidentSystemDriverPage
    #field int CcFastReadNoWait
    #field int CcFastReadWait
    #field int CcFastReadResourceMiss
    #field int CcFastReadNotPossible
    #field int CcFastMdlReadNoWait
    #field int CcFastMdlReadWait
    #field int CcFastMdlReadResourceMiss
    #field int CcFastMdlReadNotPossible
    #field int CcMapDataNoWait
    #field int CcMapDataWait
    #field int CcMapDataNoWaitMiss
    #field int CcMapDataWaitMiss
    #field int CcPinMappedDataCount
    #field int CcPinReadNoWait
    #field int CcPinReadWait
    #field int CcPinReadNoWaitMiss
    #field int CcPinReadWaitMiss
    #field int CcCopyReadNoWait
    #field int CcCopyReadWait
    #field int CcCopyReadNoWaitMiss
    #field int CcCopyReadWaitMiss
    #field int CcMdlReadNoWait
    #field int CcMdlReadWait
    #field int CcMdlReadNoWaitMiss
    #field int CcMdlReadWaitMiss
    #field int CcReadAheadIos
    #field int CcLazyWriteIos
    #field int CcLazyWritePages
    #field int CcDataFlushes
    #field int CcDataPages
    #field int ContextSwitches
    #field int FirstLevelTbFills
    #field int SecondLevelTbFills
    #field int SystemCalls
    #field int64 CcTotalDirtyPages
    #field int64 CcDirtyPageThreshold
    #field int64 ResidentAvailablePages
    #field int64 SharedCommittedPages
#endstruct

stdim st, MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION        ; NSTRUCT 変数を確保
st->IdleProcessTime = 100
mes "IdleProcessTime=" + st->IdleProcessTime