Show / Hide Table of Contents

Class ProcessInfo

Process Info for a device process.

Inheritance
object
ProcessInfo
AppProcessInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Performance
Assembly: DeviceConsole.Environments.dll
Syntax
public class ProcessInfo

Constructors

View Source

ProcessInfo(string, string, uint, uint, float, ulong, ulong, ulong, ulong)

Initializes a new instance of the ProcessInfo class.

Declaration
public ProcessInfo(string name, string userName, uint processId, uint sessionId, float cpuUsage, ulong pageFile, ulong workingSet, ulong privateWorkingSet, ulong virtualSize)
Parameters
Type Name Description
string name

The process name.

string userName

The user the process is running as.

uint processId

The process id (pid).

uint sessionId

The session id.

float cpuUsage

The CPU Usage as a percentage of available CPU resources (0-100).

ulong pageFile

The Page file usage info, in bytes.

ulong workingSet

The working set size, in bytes.

ulong privateWorkingSet

The package working set, in bytes.

ulong virtualSize

The virtual size, in bytes.

Properties

View Source

CpuUsage

Gets the CPU Usage as a percentage of available CPU resources (0-100).

Declaration
public float CpuUsage { get; }
Property Value
Type Description
float
View Source

Name

Gets the process name.

Declaration
public string Name { get; }
Property Value
Type Description
string
View Source

PageFile

Gets the Page file usage info, in bytes.

Declaration
public ulong PageFile { get; }
Property Value
Type Description
ulong
View Source

PrivateWorkingSet

Gets the package working set, in bytes.

Declaration
public ulong PrivateWorkingSet { get; }
Property Value
Type Description
ulong
View Source

ProcessId

Gets the process id (pid).

Declaration
public uint ProcessId { get; }
Property Value
Type Description
uint
View Source

SessionId

Gets the session id.

Declaration
public uint SessionId { get; }
Property Value
Type Description
uint
View Source

UserName

Gets the user the process is running as.

Declaration
public string UserName { get; }
Property Value
Type Description
string
View Source

VirtualSize

Gets the virtual size, in bytes.

Declaration
public ulong VirtualSize { get; }
Property Value
Type Description
ulong
View Source

WorkingSet

Gets the working set size, in bytes.

Declaration
public ulong WorkingSet { get; }
Property Value
Type Description
ulong
  • View Source
In This Article
Back to top Generated by DocFX