Skip to main content

MLAPI.Profiling.ProfilerTick

A tick in used for the Profiler

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public class ProfilerTick

Fields#

EventId#

The id of the tick

Declaration#

public int EventId

Field Value#

TypeDescription
System.Int32

Events#

The events that occured during this tick

Declaration#

public readonly List<TickEvent> Events

Field Value#

TypeDescription
System.Collections.Generic.List<TickEvent>

Frame#

The frame the tick executed on

Declaration#

public int Frame

Field Value#

TypeDescription
System.Int32

Type#

The type of tick

Declaration#

public TickType Type

Field Value#

TypeDescription
TickType

Properties#

Bytes#

The amount of bytes that were sent and / or received during this tick

Declaration#

public uint Bytes { get; }

Property Value#

TypeDescription
System.UInt32

Methods#

FromStream(Stream)#

Creates a ProfilerTick from data in the provided stream

Declaration#

public static ProfilerTick FromStream(Stream stream)

Parameters#

TypeNameDescription
System.IO.StreamstreamThe stream containing the ProfilerTick data

Returns#

TypeDescription
ProfilerTickThe ProfilerTick with data read from the stream

SerializeToStream(Stream)#

Writes the current ProfilerTick to the stream

Declaration#

public void SerializeToStream(Stream stream)

Parameters#

TypeNameDescription
System.IO.StreamstreamThe stream containing