(下表の計算式表記の意味)
表記文字 | 意味 |
RawData |
RPERF_COUNTER_BLOCK以下の取得対象の未処理カウンタデータ(素データ)。 |
PerfFreq |
PERF_DATA_BLOCKのPerfFreqメンバの値 |
PerfTime |
PERF_DATA_BLOCKのPerfTimeメンバの値 |
100NSec |
PERF_DATA_BLOCKのPerfTime100nSecメンバの値 |
BC |
ベースカウンタの未処理データ |
PrecTime |
高精度タイムスタンプ |
※各表記のサフィックスの数値の少ないほうが過去に取得した値。 |
(カウンタタイプの分類)
色 | 分類 |
サンプリング時間などの要素を加えて、古いカウンタデータとの変化を計算するタイプ(一般的なカウンタ) | |
未処理データをそのままカウンタデータとするタイプ | |
付加要素としてベースカウンタと呼ばれる別のカウンタデータを利用して計算するタイプ | |
ベースカウンタ | |
高精度の時間の要素が必要なため、高精度タイマが格納されているカウンタを利用するタイプ | |
高精度タイムスタンプ | |
その他 |
<カウンタタイプ一覧>
カウンタタイプ | カウンタタイプの 構成ビット |
計算式 | カウンタ例 (オブジェクト名 \ カウンタ名) |
PERF_COUNTER_COUNTER |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_DISPLAY_PER_SEC |
(RawData1 - RawData0) / ((PerfTime1 - PerfTime0) / PerfFreq) |
PhysicalDisk \ Disk Transfers/sec |
PERF_COUNTER_BULK_COUNT |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_DISPLAY_PER_SEC |
(RawData1 - RawData0) / ((PerfTime1 - PerfTime0) / PerfFreq) |
System \ File Read Bytes/sec |
PERF_SAMPLE_COUNTER |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_DISPLAY_NO_SUFFIX |
(RawData1 - RawData0) / ((PerfTime1 - PerfTime0) / PerfFreq) |
実装済みカウンタなし |
PERF_COUNTER_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_DISPLAY_PERCENT |
100 * (RawData1 - RawData0) / (PerfTime1 - PerfTime0) |
.Net CLR Loading \ % Time Loading |
PERF_COUNTER_QUEUELEN_TYPE |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_QUEUELEN PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_DISPLAY_NO_SUFFIX |
(RawData1 - RawData0) / (PerfTime1 - PerfTime0) |
実装済みカウンタなし |
PERF_COUNTER_LARGE_QUEUELEN_TYPE |
PERF_SIZE_LARGE
PERF_TYPE_COUNTER PERF_COUNTER_QUEUELEN PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_DISPLAY_NO_SUFFIX |
(RawData1 - RawData0) / (PerfTime1 - PerfTime0) |
実装済みカウンタなし |
PERF_COUNTER_OBJ_TIME_QUEUELEN_TYPE |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_QUEUELEN PERF_OBJECT_TIMER PERF_DELTA_COUNTER PERF_DISPLAY_NO_SUFFIX |
(RawData1 - RawData0) / (PerfTime1 - PerfTime0) |
実装済みカウンタなし |
PERF_OBJ_TIME_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_OBJECT_TIMER PERF_DELTA_COUNTER PERF_DISPLAY_PERCENT |
(RawData1 - RawData0) / (PerfTime1 - PerfTime0) |
実装済みカウンタなし |
PERF_COUNTER_100NS_QUEUELEN_TYPE |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_QUEUELEN PERF_TIMER_100NS PERF_DELTA_COUNTER PERF_DISPLAY_NO_SUFFIX |
(RawData1 - RawData0) / (100NSec1 - 100Nsec0) |
PhysicalDisk \ Avg. Disk Queue Length |
PERF_COUNTER_TEXT |
PERF_SIZE_VARIABLE_LEN PERF_TYPE_TEXT PERF_TEXT_UNICODE PERF_DISPLAY_NO_SUFFIX |
文字列のため計算式なし | 実装済みカウンタなし |
PERF_COUNTER_RAWCOUNT |
PERF_SIZE_DWORD PERF_TYPE_NUMBER PERF_NUMBER_DECIMAL PERF_DISPLAY_NO_SUFFIX |
RawData1 | LogicalDisk \ Free Megabytes |
PERF_COUNTER_RAWCOUNT_HEX |
PERF_SIZE_DWORD PERF_TYPE_NUMBER PERF_NUMBER_HEX PERF_DISPLAY_NO_SUFFIX |
RawData1 | Thread \ Start Address |
PERF_COUNTER_LARGE_RAWCOUNT |
PERF_SIZE_LARGE
PERF_TYPE_NUMBER PERF_NUMBER_DECIMAL PERF_DISPLAY_NO_SUFFIX |
RawData1 | Memory \ Available Bytes |
PERF_COUNTER_LARGE_RAWCOUNT_HEX |
PERF_SIZE_LARGE PERF_TYPE_NUMBER PERF_NUMBER_HEX PERF_DISPLAY_NO_SUFFIX |
RawData1 | 実装済みカウンタなし |
PERF_SAMPLE_FRACTION |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_FRACTION PERF_DELTA_COUNTER PERF_DELTA_BASE PERF_DISPLAY_PERCENT |
100 * (RawData1 - RawData0) / (BC1 - BC0) |
Cache \ Pin Read Hits % |
PERF_COUNTER_TIMER_INV |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_INVERSE_COUNTER PERF_DISPLAY_PERCENT |
100 * (1 - ((RawData1 - RawData0) / (PerfTime1 - PerfTime0) ) ) |
実装済みカウンタなし |
PERF_AVERAGE_TIMER |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_FRACTION PERF_DISPLAY_SECONDS |
((RawData1 - RawData0) / PerfFreq ) / (BC1 - BC0) |
PhysicalDisk \ Avg. Disk sec/Transfer |
PERF_AVERAGE_BULK |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_FRACTION PERF_DISPLAY_NOSHOW |
(RawData1 - RawData0) / (BC1 - BC0) |
PhysicalDisk \ Avg. Disk Bytes/Transfer |
PERF_100NSEC_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_TIMER_100NS PERF_DELTA_COUNTER PERF_DISPLAY_PERCENT |
100 * (RawData1 - RawData0) / (100NSec1 - 100NSec0) |
Processor \ % User Time |
PERF_100NSEC_TIMER_INV |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_TIMER_100NS PERF_DELTA_COUNTER PERF_INVERSE_COUNTER PERF_DISPLAY_PERCENT |
100 * (1 - (RawData1 - RawData0) / (100NSec1 - 100NSec0) ) |
Processor \ % Processor Time |
PERF_COUNTER_MULTI_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_DELTA_COUNTER PERF_TIMER_TICK PERF_MULTI_COUNTER PERF_DISPLAY_PERCENT |
100 * ( (RawData1 - RawData0) / ( (PerfTime1 - PerfTime0) / PerfFreq ) ) / BC1 |
実装済みカウンタなし |
PERF_COUNTER_MULTI_TIMER_INV |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_RATE PERF_DELTA_COUNTER PERF_MULTI_COUNTER PERF_TIMER_TICK PERF_INVERSE_COUNTER PERF_DISPLAY_PERCENT |
100 * (BC1 - ( (RawData1 - RawData0) / ( (PerfTime1 - PerfTime0) / PerfFreq ) ) ) / BC1 |
実装済みカウンタなし |
PERF_100NSEC_MULTI_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_DELTA_COUNTER PERF_COUNTER_RATE PERF_TIMER_100NS PERF_MULTI_COUNTER PERF_DISPLAY_PERCENT |
100 * ( (RawData1 - RawData0) / (100NSec1 - 100NSec0) ) / BC1 |
実装済みカウンタなし |
PERF_100NSEC_MULTI_TIMER_INV |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_DELTA_COUNTER PERF_COUNTER_RATE PERF_TIMER_100NS PERF_MULTI_COUNTER PERF_INVERSE_COUNTER PERF_DISPLAY_PERCENT |
100 * (BC1 - ( (RawData1 - RawData0) / (100NSec1 - 100NSec0) ) ) / BC1 |
実装済みカウンタなし |
PERF_RAW_FRACTION |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_FRACTION PERF_DISPLAY_PERCENT |
100 * RawData1 / BC1 | Paging File \ % Usage Peak |
PERF_LARGE_RAW_FRACTION |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_FRACTION PERF_DISPLAY_PERCENT |
100 * RawData1 / BC1 | MSSQL$SQLEXPRESS:Buffer Manager \ Buffer cache hit ratio (MSSQLがインストールされている場合のみ) |
PERF_ELAPSED_TIME |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_ELAPSED PERF_OBJECT_TIMER PERF_DISPLAY_SECONDS |
(PerfTime1 - RawData1) / PerfFreq |
System \ System Up Time |
PERF_COUNTER_DELTA |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_VALUE PERF_DELTA_COUNTER PERF_DISPLAY_NO_SUFFIX |
RawData1 - RawData0 | 実装済みカウンタなし |
PERF_COUNTER_LARGE_DELTA |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_VALUE PERF_DELTA_COUNTER PERF_DISPLAY_NO_SUFFIX |
RawData1 - RawData0 | 実装済みカウンタなし |
PERF_PRECISION_100NS_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_PRECISION PERF_TIMER_100NS PERF_DELTA_COUNTER PERF_DISPLAY_PERCENT |
(RawData1 - RawData0) / (PrecTime1 - PrecTime0) |
PhysicalDisk \ % Disk Time |
PERF_PRECISION_SYSTEM_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_PRECISION PERF_TIMER_TICK PERF_DELTA_COUNTER PERF_DISPLAY_PERCENT |
(RawData1 - RawData0) / (PrecTime1 - PrecTime0) |
実装済みカウンタなし |
PERF_PRECISION_OBJECT_TIMER |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_PRECISION PERF_OBJECT_TIMER PERF_DELTA_COUNTER PERF_DISPLAY_PERCENT | (RawData1 - RawData0) / (PrecTime1 - PrecTime0) |
実装済みカウンタなし |
PERF_COUNTER_NODATA |
PERF_SIZE_ZERO PERF_DISPLAY_NOSHOW |
カウンタにデータなし | − |
PERF_COUNTER_HISTOGRAM_TYPE | 0x80000000 | カウンタデータ表示範囲定義用 | − |
PERF_SAMPLE_BASE |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_BASE PERF_DISPLAY_NOSHOW 0x00000001 |
PERF_SAMPLE_FRACTIONの ベースカウンタ |
− |
PERF_AVERAGE_BASE |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_BASE PERF_DISPLAY_NOSHOW 0x00000002 |
PERF_AVERAGE_TIMER、 PERF_AVERAGE_BULKの ベースカウンタ |
− |
PERF_COUNTER_MULTI_BASE |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_BASE PERF_MULTI_COUNTER PERF_DISPLAY_NOSHOW |
PERF_100NSEC_MULTI_TIMER PERF_100NSEC_MULTI_TIMER_INV PERF_COUNTER_MULTI_TIMER PERF_COUNTER_MULTI_TIMER_INVの ベースカウンタ |
− |
PERF_RAW_BASE |
PERF_SIZE_DWORD PERF_TYPE_COUNTER PERF_COUNTER_BASE PERF_DISPLAY_NOSHOW 0x00000003 |
PERF_RAW_FRACTIONの ベースカウンタ |
− |
PERF_LARGE_RAW_BASE |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_BASE PERF_DISPLAY_NOSHOW |
PERF_LARGE_RAW_FRACTIONの ベースカウンタ |
− |
PERF_PRECISION_TIMESTAMP |
PERF_SIZE_LARGE PERF_TYPE_COUNTER PERF_COUNTER_BASE PERF_DISPLAY_NOSHOW |
PERF_PRECISION_XXXX_TIMERの 高精度タイムスタンプ |
− |