DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
ProcessStreamOptions.h
Go to the documentation of this file.
1
#pragma once
2
#include "
Common.h
"
3
4
namespace
DotNetDupe
{
5
namespace
System
{
6
namespace
Diagnostics
{
7
10
enum class
ProcessMetricsDetail
{
11
FastDiscoveryOnly
= 0,
12
Progressive
= 1,
13
FullSynchronized
= 2
14
};
15
18
struct
ProcessStreamOptions
{
19
ProcessMetricsDetail
eDetailLevel
;
20
int
iBatchSize
;
21
int
iBatchIntervalMs
;
22
int
iSessionId
;
23
bool
bIncludeNetworkInfo
;
24
26
ProcessStreamOptions
()
27
:
eDetailLevel
(
ProcessMetricsDetail
::
Progressive
),
28
iBatchSize
(25),
29
iBatchIntervalMs
(50),
30
iSessionId
(-1),
31
bIncludeNetworkInfo
(true) {}
32
};
33
34
}
35
}
36
}
Common.h
Defines common cross-platform macros, export decorators, and fundamental types.
DotNetDupe::System::Diagnostics
Definition
ActiveUserSession.h:11
DotNetDupe::System::Diagnostics::ProcessMetricsDetail
ProcessMetricsDetail
Granularity level for streaming process metrics discovery.
Definition
ProcessStreamOptions.h:10
DotNetDupe::System::Diagnostics::ProcessMetricsDetail::FastDiscoveryOnly
@ FastDiscoveryOnly
Minimal discovery retrieving PID, name, and paths without deep inspection.
Definition
ProcessStreamOptions.h:11
DotNetDupe::System::Diagnostics::ProcessMetricsDetail::Progressive
@ Progressive
Background progressive enrichment of CPU, memory, and disk usage.
Definition
ProcessStreamOptions.h:12
DotNetDupe::System::Diagnostics::ProcessMetricsDetail::FullSynchronized
@ FullSynchronized
Full synchronous inspection including open ports and network sockets.
Definition
ProcessStreamOptions.h:13
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
DotNetDupe::System::Diagnostics::ProcessStreamOptions::eDetailLevel
ProcessMetricsDetail eDetailLevel
Depth of telemetry gathered for each process.
Definition
ProcessStreamOptions.h:19
DotNetDupe::System::Diagnostics::ProcessStreamOptions::iBatchIntervalMs
int iBatchIntervalMs
Millisecond interval between batch dispatches.
Definition
ProcessStreamOptions.h:21
DotNetDupe::System::Diagnostics::ProcessStreamOptions::iBatchSize
int iBatchSize
Number of processes dispatched in each batch event.
Definition
ProcessStreamOptions.h:20
DotNetDupe::System::Diagnostics::ProcessStreamOptions::ProcessStreamOptions
ProcessStreamOptions()
Default constructor configuring progressive telemetry defaults.
Definition
ProcessStreamOptions.h:26
DotNetDupe::System::Diagnostics::ProcessStreamOptions::iSessionId
int iSessionId
Filter by session identifier (-1 for all sessions).
Definition
ProcessStreamOptions.h:22
DotNetDupe::System::Diagnostics::ProcessStreamOptions::bIncludeNetworkInfo
bool bIncludeNetworkInfo
True to enumerate open ports and socket connections.
Definition
ProcessStreamOptions.h:23
Include
System
Diagnostics
ProcessStreamOptions.h
Generated by
1.18.0