Click or drag to resize
IMyGridProgramRuntimeInfo Interface
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

Provides runtime info for a running grid program.

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IMyGridProgramRuntimeInfo

The IMyGridProgramRuntimeInfo type exposes the following members.

Properties
  NameDescription
Public propertyCurrentInstructionCount
Gets the current number of significant instructions executed.
Public propertyCurrentMethodCallCount Obsolete.
Gets the current number of method calls.
Public propertyLastRunTimeMs
Gets the number of milliseconds it took to execute the Main method the last time it was run. This property returns no valid data neither in the constructor nor the Save method.
Public propertyMaxInstructionCount
Gets the maximum number of significant instructions that can be executing during a single run, including any other programmable blocks invoked immediately.
Public propertyMaxMethodCallCount Obsolete.
Gets the maximum number of method calls that can be executed during a single run, including any other programmable blocks invoked immediately.
Public propertyTimeSinceLastRun
Gets the time elapsed since the last time the Main method of this program was run. This property returns no valid data neither in the constructor nor the Save method.
Top
See Also