Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.Profiling.Sample Struct Reference

Represents a sample in the profiler. More...

Public Member Functions

 Sample (string name)
 Initializes a new instance of the Sample struct with the specified name. More...
 

Public Attributes

string Name
 Gets or sets the name of the sample. More...
 
long Time
 Gets or sets the time of the sample. More...
 
SampleType Type
 Gets or sets the type of the sample. More...
 

Detailed Description

Represents a sample in the profiler.

Constructor & Destructor Documentation

◆ Sample()

Quantum.Profiling.Sample.Sample ( string  name)
inline

Initializes a new instance of the Sample struct with the specified name.

Parameters
nameThe name of the sample.

Member Data Documentation

◆ Type

SampleType Quantum.Profiling.Sample.Type

Gets or sets the type of the sample.

◆ Time

long Quantum.Profiling.Sample.Time

Gets or sets the time of the sample.

◆ Name

string Quantum.Profiling.Sample.Name

Gets or sets the name of the sample.