Table of Contents

Struct ThreadTableEntry

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

One row of the cache's ThreadTable: a named thread slot.

public readonly struct ThreadTableEntry : IEquatable<ThreadTableEntry>
Implements
Inherited Members

Constructors

ThreadTableEntry(byte, ThreadKind, string)

One row of the cache's ThreadTable: a named thread slot.

public ThreadTableEntry(byte Slot, ThreadKind Kind, string Name)

Parameters

Slot byte

The thread slot.

Kind ThreadKind

What the thread is.

Name string

Its name, at most 255 UTF-8 bytes.

Properties

Kind

What the thread is.

public ThreadKind Kind { get; init; }

Property Value

ThreadKind

Name

Its name, at most 255 UTF-8 bytes.

public string Name { get; init; }

Property Value

string

Slot

The thread slot.

public byte Slot { get; init; }

Property Value

byte

Methods

Deconstruct(out byte, out ThreadKind, out string)

public void Deconstruct(out byte Slot, out ThreadKind Kind, out string Name)

Parameters

Slot byte
Kind ThreadKind
Name string

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(ThreadTableEntry)

public bool Equals(ThreadTableEntry other)

Parameters

other ThreadTableEntry

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ThreadTableEntry, ThreadTableEntry)

public static bool operator ==(ThreadTableEntry left, ThreadTableEntry right)

Parameters

left ThreadTableEntry
right ThreadTableEntry

Returns

bool

operator !=(ThreadTableEntry, ThreadTableEntry)

public static bool operator !=(ThreadTableEntry left, ThreadTableEntry right)

Parameters

left ThreadTableEntry
right ThreadTableEntry

Returns

bool