ホーム › System.Diagnostics.Debug › MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2
MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 | 説明 |
|---|---|---|---|---|---|
| IdleProcessTime | ULONGLONG | 8 | +0 | +0 | アイドルプロセスのCPU時間。 |
| IoReadTransferCount | ULONGLONG | 8 | +8 | +8 | I/O読み取り転送バイト数。 |
| IoWriteTransferCount | ULONGLONG | 8 | +16 | +16 | I/O書き込み転送バイト数。 |
| IoOtherTransferCount | ULONGLONG | 8 | +24 | +24 | その他I/O転送バイト数。 |
| IoReadOperationCount | DWORD | 4 | +32 | +32 | I/O読み取り操作回数。 |
| IoWriteOperationCount | DWORD | 4 | +36 | +36 | I/O書き込み操作回数。 |
| IoOtherOperationCount | DWORD | 4 | +40 | +40 | その他I/O操作回数。 |
| AvailablePages | DWORD | 4 | +44 | +44 | 利用可能な物理ページ数。 |
| CommittedPages | DWORD | 4 | +48 | +48 | コミット済みページ数。 |
| CommitLimit | DWORD | 4 | +52 | +52 | コミット可能上限(ページ数)。 |
| PeakCommitment | DWORD | 4 | +56 | +56 | コミットのピーク値(ページ数)。 |
| PageFaultCount | DWORD | 4 | +60 | +60 | ページフォルト数。 |
| CopyOnWriteCount | DWORD | 4 | +64 | +64 | コピーオンライト発生回数。 |
| TransitionCount | DWORD | 4 | +68 | +68 | 遷移フォルト回数。 |
| CacheTransitionCount | DWORD | 4 | +72 | +72 | キャッシュ遷移フォルト回数。 |
| DemandZeroCount | DWORD | 4 | +76 | +76 | ゼロ要求フォルト回数。 |
| PageReadCount | DWORD | 4 | +80 | +80 | ページ読み取り回数。 |
| PageReadIoCount | DWORD | 4 | +84 | +84 | ページ読み取りI/O回数。 |
| CacheReadCount | DWORD | 4 | +88 | +88 | キャッシュ読み取り回数。 |
| CacheIoCount | DWORD | 4 | +92 | +92 | キャッシュI/O回数。 |
| DirtyPagesWriteCount | DWORD | 4 | +96 | +96 | ダーティページ書き込み回数。 |
| DirtyWriteIoCount | DWORD | 4 | +100 | +100 | ダーティ書き込みI/O回数。 |
| MappedPagesWriteCount | DWORD | 4 | +104 | +104 | マップ済みページ書き込み回数。 |
| MappedWriteIoCount | DWORD | 4 | +108 | +108 | マップ済み書き込みI/O回数。 |
| PagedPoolPages | DWORD | 4 | +112 | +112 | ページプールのページ数。 |
| NonPagedPoolPages | DWORD | 4 | +116 | +116 | 非ページプールのページ数。 |
| PagedPoolAllocs | DWORD | 4 | +120 | +120 | ページプールの割り当て回数。 |
| PagedPoolFrees | DWORD | 4 | +124 | +124 | ページプールの解放回数。 |
| NonPagedPoolAllocs | DWORD | 4 | +128 | +128 | 非ページプールの割り当て回数。 |
| NonPagedPoolFrees | DWORD | 4 | +132 | +132 | 非ページプールの解放回数。 |
| FreeSystemPtes | DWORD | 4 | +136 | +136 | 空きシステムPTE数。 |
| ResidentSystemCodePage | DWORD | 4 | +140 | +140 | 常駐システムコードページ数。 |
| TotalSystemDriverPages | DWORD | 4 | +144 | +144 | システムドライバの総ページ数。 |
| TotalSystemCodePages | DWORD | 4 | +148 | +148 | システムコードの総ページ数。 |
| NonPagedPoolLookasideHits | DWORD | 4 | +152 | +152 | 非ページプールルックアサイドのヒット数。 |
| PagedPoolLookasideHits | DWORD | 4 | +156 | +156 | ページプールルックアサイドのヒット数。 |
| AvailablePagedPoolPages | DWORD | 4 | +160 | +160 | 利用可能なページプールページ数。 |
| ResidentSystemCachePage | DWORD | 4 | +164 | +164 | 常駐システムキャッシュページ数。 |
| ResidentPagedPoolPage | DWORD | 4 | +168 | +168 | 常駐ページプールページ数。 |
| ResidentSystemDriverPage | DWORD | 4 | +172 | +172 | 常駐システムドライバページ数。 |
| CcFastReadNoWait | DWORD | 4 | +176 | +176 | キャッシュ高速読み取り(待機なし)回数。 |
| CcFastReadWait | DWORD | 4 | +180 | +180 | キャッシュ高速読み取り(待機あり)回数。 |
| CcFastReadResourceMiss | DWORD | 4 | +184 | +184 | キャッシュ高速読み取りのリソースミス回数。 |
| CcFastReadNotPossible | DWORD | 4 | +188 | +188 | キャッシュ高速読み取り不可回数。 |
| CcFastMdlReadNoWait | DWORD | 4 | +192 | +192 | MDL高速読み取り(待機なし)回数。 |
| CcFastMdlReadWait | DWORD | 4 | +196 | +196 | MDL高速読み取り(待機あり)回数。 |
| CcFastMdlReadResourceMiss | DWORD | 4 | +200 | +200 | MDL高速読み取りのリソースミス回数。 |
| CcFastMdlReadNotPossible | DWORD | 4 | +204 | +204 | MDL高速読み取り不可回数。 |
| CcMapDataNoWait | DWORD | 4 | +208 | +208 | データマップ(待機なし)回数。 |
| CcMapDataWait | DWORD | 4 | +212 | +212 | データマップ(待機あり)回数。 |
| CcMapDataNoWaitMiss | DWORD | 4 | +216 | +216 | データマップ(待機なし)のミス回数。 |
| CcMapDataWaitMiss | DWORD | 4 | +220 | +220 | データマップ(待機あり)のミス回数。 |
| CcPinMappedDataCount | DWORD | 4 | +224 | +224 | マップ済みデータのピン留め回数。 |
| CcPinReadNoWait | DWORD | 4 | +228 | +228 | ピン読み取り(待機なし)回数。 |
| CcPinReadWait | DWORD | 4 | +232 | +232 | ピン読み取り(待機あり)回数。 |
| CcPinReadNoWaitMiss | DWORD | 4 | +236 | +236 | ピン読み取り(待機なし)のミス回数。 |
| CcPinReadWaitMiss | DWORD | 4 | +240 | +240 | ピン読み取り(待機あり)のミス回数。 |
| CcCopyReadNoWait | DWORD | 4 | +244 | +244 | コピー読み取り(待機なし)回数。 |
| CcCopyReadWait | DWORD | 4 | +248 | +248 | コピー読み取り(待機あり)回数。 |
| CcCopyReadNoWaitMiss | DWORD | 4 | +252 | +252 | コピー読み取り(待機なし)のミス回数。 |
| CcCopyReadWaitMiss | DWORD | 4 | +256 | +256 | コピー読み取り(待機あり)のミス回数。 |
| CcMdlReadNoWait | DWORD | 4 | +260 | +260 | MDL読み取り(待機なし)回数。 |
| CcMdlReadWait | DWORD | 4 | +264 | +264 | MDL読み取り(待機あり)回数。 |
| CcMdlReadNoWaitMiss | DWORD | 4 | +268 | +268 | MDL読み取り(待機なし)のミス回数。 |
| CcMdlReadWaitMiss | DWORD | 4 | +272 | +272 | MDL読み取り(待機あり)のミス回数。 |
| CcReadAheadIos | DWORD | 4 | +276 | +276 | 先読みI/O回数。 |
| CcLazyWriteIos | DWORD | 4 | +280 | +280 | 遅延書き込みI/O回数。 |
| CcLazyWritePages | DWORD | 4 | +284 | +284 | 遅延書き込みページ数。 |
| CcDataFlushes | DWORD | 4 | +288 | +288 | データフラッシュ回数。 |
| CcDataPages | DWORD | 4 | +292 | +292 | フラッシュされたデータページ数。 |
| ContextSwitches | DWORD | 4 | +296 | +296 | コンテキストスイッチ回数。 |
| FirstLevelTbFills | DWORD | 4 | +300 | +300 | 第1レベルTLB充填回数。 |
| SecondLevelTbFills | DWORD | 4 | +304 | +304 | 第2レベルTLB充填回数。 |
| SystemCalls | DWORD | 4 | +308 | +308 | システムコール回数。 |
| CcTotalDirtyPages | ULONGLONG | 8 | +312 | +312 | キャッシュの総ダーティページ数。 |
| CcDirtyPageThreshold | ULONGLONG | 8 | +320 | +320 | ダーティページの閾値。 |
| ResidentAvailablePages | LONGLONG | 8 | +328 | +328 | 常駐可能な利用可能ページ数(符号付き)。 |
| SharedCommittedPages | ULONGLONG | 8 | +336 | +336 | 共有コミット済みページ数。 |
| MdlPagesAllocated | ULONGLONG | 8 | +344 | +344 | 割り当て済みMDLページ数。 |
| PfnDatabaseCommittedPages | ULONGLONG | 8 | +352 | +352 | PFNデータベースのコミット済みページ数。 |
| SystemPageTableCommittedPages | ULONGLONG | 8 | +360 | +360 | システムページテーブルのコミット済みページ数。 |
| ContiguousPagesAllocated | ULONGLONG | 8 | +368 | +368 | 割り当て済み連続ページ数。 |
各言語での定義
#include <windows.h>
// MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 (x64 376 / x86 376 バイト)
#pragma pack(push, 4)
typedef struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 {
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;
ULONGLONG MdlPagesAllocated;
ULONGLONG PfnDatabaseCommittedPages;
ULONGLONG SystemPageTableCommittedPages;
ULONGLONG ContiguousPagesAllocated;
} MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2;
#pragma pack(pop)using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
public struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2
{
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;
public ulong MdlPagesAllocated;
public ulong PfnDatabaseCommittedPages;
public ulong SystemPageTableCommittedPages;
public ulong ContiguousPagesAllocated;
}Imports System.Runtime.InteropServices
<StructLayout(LayoutKind.Sequential, Pack:=4, CharSet:=CharSet.Unicode)>
Public Structure MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2
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
Public MdlPagesAllocated As ULong
Public PfnDatabaseCommittedPages As ULong
Public SystemPageTableCommittedPages As ULong
Public ContiguousPagesAllocated As ULong
End Structureimport ctypes
from ctypes import wintypes
class MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2(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),
("MdlPagesAllocated", ctypes.c_ulonglong),
("PfnDatabaseCommittedPages", ctypes.c_ulonglong),
("SystemPageTableCommittedPages", ctypes.c_ulonglong),
("ContiguousPagesAllocated", ctypes.c_ulonglong),
]#[repr(C, packed(4))]
pub struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 {
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,
pub MdlPagesAllocated: u64,
pub PfnDatabaseCommittedPages: u64,
pub SystemPageTableCommittedPages: u64,
pub ContiguousPagesAllocated: u64,
}import "golang.org/x/sys/windows"
type MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 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
MdlPagesAllocated uint64
PfnDatabaseCommittedPages uint64
SystemPageTableCommittedPages uint64
ContiguousPagesAllocated uint64
}type
MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 = 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;
MdlPagesAllocated: UInt64;
PfnDatabaseCommittedPages: UInt64;
SystemPageTableCommittedPages: UInt64;
ContiguousPagesAllocated: UInt64;
end;const MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 = 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,
MdlPagesAllocated: u64,
PfnDatabaseCommittedPages: u64,
SystemPageTableCommittedPages: u64,
ContiguousPagesAllocated: u64,
};type
MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 {.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
MdlPagesAllocated: uint64
PfnDatabaseCommittedPages: uint64
SystemPageTableCommittedPages: uint64
ContiguousPagesAllocated: uint64align(4)
struct MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2
{
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;
ulong MdlPagesAllocated;
ulong PfnDatabaseCommittedPages;
ulong SystemPageTableCommittedPages;
ulong ContiguousPagesAllocated;
}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_2 サイズ: 376 バイト(x64)
dim st, 94 ; 4byte整数×94(構造体サイズ 376 / 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,上位
; MdlPagesAllocated : ULONGLONG (+344, 8byte) qpoke st,344,値 / qpeek(st,344) ※IronHSPのみ。3.7/3.8は lpoke st,344,下位 : lpoke st,348,上位
; PfnDatabaseCommittedPages : ULONGLONG (+352, 8byte) qpoke st,352,値 / qpeek(st,352) ※IronHSPのみ。3.7/3.8は lpoke st,352,下位 : lpoke st,356,上位
; SystemPageTableCommittedPages : ULONGLONG (+360, 8byte) qpoke st,360,値 / qpeek(st,360) ※IronHSPのみ。3.7/3.8は lpoke st,360,下位 : lpoke st,364,上位
; ContiguousPagesAllocated : ULONGLONG (+368, 8byte) qpoke st,368,値 / qpeek(st,368) ※IronHSPのみ。3.7/3.8は lpoke st,368,下位 : lpoke st,372,上位
; ※4byte境界の整数は添字 st.N(N=オフセット/4)で読み書き可。それ以外は peek/poke 系を使用。; IronHSP は NSTRUCT(構造体)をサポート。32bit/64bit どちらでも同じコードで動作します。
#defstruct global MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2, 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
#field int64 MdlPagesAllocated
#field int64 PfnDatabaseCommittedPages
#field int64 SystemPageTableCommittedPages
#field int64 ContiguousPagesAllocated
#endstruct
stdim st, MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION_2 ; NSTRUCT 変数を確保
st->IdleProcessTime = 100
mes "IdleProcessTime=" + st->IdleProcessTime