class BenchmarkSystem

in global :: Sandbox . Services

Allows access to stats for the current game. Stats are defined by the game's author and can be used to track anything from player actions to performance metrics. They are how you submit data to leaderboards.


public void Start( string name )

Called to start a benchmark

public void SetMetric( string name, double metric )

Set a custom metric, like load time, shutdown time etc

public Task<Guid> SendAsync( CancellationToken token = null )

Finish this benchmark session and send it off to the backend

public void Finish( )

😔 No documentation found.

public void Sample( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public BenchmarkSystem( )

😔 No documentation found.