Table of Contents

Class ProfilingKey

Namespace
Stride.Core.Diagnostics
Assembly
Stride.Core.dll

A key to identify a specific profile.

public class ProfilingKey
Inheritance
ProfilingKey

Constructors

ProfilingKey(ProfilingKey, string, ProfilingKeyFlags)

Initializes a new instance of the ProfilingKey class.

public ProfilingKey(ProfilingKey parent, string name, ProfilingKeyFlags flags = ProfilingKeyFlags.None)

Parameters

parent ProfilingKey

The parent.

name string

The name.

flags ProfilingKeyFlags

Exceptions

ArgumentNullException

parent

ProfilingKey(string, ProfilingKeyFlags)

Initializes a new instance of the ProfilingKey class.

public ProfilingKey(string name, ProfilingKeyFlags flags = ProfilingKeyFlags.None)

Parameters

name string

The name.

flags ProfilingKeyFlags

Properties

Children

Gets the children.

public List<ProfilingKey> Children { get; }

Property Value

List<ProfilingKey>

The children.

Name

Gets the name.

public string Name { get; }

Property Value

string

The name.

Parent

Gets the group.

public ProfilingKey Parent { get; }

Property Value

ProfilingKey

The group.

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.