ホーム › System.Performance › StreamMode
StreamMode
列挙型メンバー 4
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| plaFile | 1 | 0x1 | トレースイベントをログファイルに書き込みます。 |
| plaRealTime | 2 | 0x2 | トレースイベントをリアルタイムコンシューマーに配信します。 |
| plaBoth | 3 | 0x3 | トレースイベントをログファイルに書き込み、さらにリアルタイムコンシューマーに配信します。 |
| plaBuffering | 4 | 0x4 | 詳細については、Event Tracing for Windows の EVENT_TRACE_BUFFERING_MODE ログモードを参照してください。 |
公式ドキュメント
トレースイベントの配信先を定義します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum StreamMode : int {
plaFile = 1,
plaRealTime = 2,
plaBoth = 3,
plaBuffering = 4
} StreamMode;public enum StreamMode : int
{
plaFile = 1,
plaRealTime = 2,
plaBoth = 3,
plaBuffering = 4,
}Public Enum StreamMode As Integer
plaFile = 1
plaRealTime = 2
plaBoth = 3
plaBuffering = 4
End Enumimport enum
class StreamMode(enum.IntEnum):
plaFile = 1
plaRealTime = 2
plaBoth = 3
plaBuffering = 4// StreamMode
pub const plaFile: i32 = 1;
pub const plaRealTime: i32 = 2;
pub const plaBoth: i32 = 3;
pub const plaBuffering: i32 = 4;// StreamMode
const (
plaFile int32 = 1
plaRealTime int32 = 2
plaBoth int32 = 3
plaBuffering int32 = 4
)const
plaFile = 1;
plaRealTime = 2;
plaBoth = 3;
plaBuffering = 4;// StreamMode
pub const plaFile: i32 = 1;
pub const plaRealTime: i32 = 2;
pub const plaBoth: i32 = 3;
pub const plaBuffering: i32 = 4;const
plaFile* = 1
plaRealTime* = 2
plaBoth* = 3
plaBuffering* = 4enum StreamMode : int {
plaFile = 1,
plaRealTime = 2,
plaBoth = 3,
plaBuffering = 4,
}#define global plaFile 0x1
#define global plaRealTime 0x2
#define global plaBoth 0x3
#define global plaBuffering 0x4