TickTimes
Namespace Mc.Scripting · Kind struct (readonly)
public readonly struct TickTimes : IEquatable<TickTimes>The engine’s tick time over a window of ticks (Server.TickTimes): average (MSPT), max, p95 and p50 in milliseconds, the ticks per second over the window’s length, and the last tick.
Constructors
Section titled “Constructors”| Member | Description |
|---|---|
Constructor |
The engine’s tick time over a window of ticks (Server.TickTimes): average (MSPT), max, p95 and p50 in milliseconds, the ticks per second over the window’s length, and the last tick. |
Constructor
Section titled “Constructor”public TickTimes(double AverageMs, double MaxMs, double P95Ms, double P50Ms, double Tps, double LastMs)The engine’s tick time over a window of ticks (Server.TickTimes): average (MSPT), max, p95 and p50 in milliseconds, the ticks per second over the window’s length, and the last tick.
Parameters
| Name | Type | Description |
|---|---|---|
AverageMs |
double |
|
MaxMs |
double |
|
P95Ms |
double |
|
P50Ms |
double |
|
Tps |
double |
|
LastMs |
double |
Properties
Section titled “Properties”| Member | Description |
|---|---|
double AverageMs { get; init; } |
|
double LastMs { get; init; } |
|
double MaxMs { get; init; } |
|
double P50Ms { get; init; } |
|
double P95Ms { get; init; } |
|
double Tps { get; init; } |
AverageMs
Section titled “AverageMs”public double AverageMs { get; init; }LastMs
Section titled “LastMs”public double LastMs { get; init; }public double MaxMs { get; init; }public double P50Ms { get; init; }public double P95Ms { get; init; }public double Tps { get; init; }