s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
PerformanceStats
chevron_left Classes
class
PerformanceStats

Static Properties

data_objectApproximateProcessMemoryUsagedata_objectBytesAllocateddata_objectExceptionsdata_objectFrameTimedata_objectGcPausedata_objectGen0Collectionsdata_objectGen1Collectionsdata_objectGen2Collectionsdata_objectGpuFrameNumberdata_objectGpuFrametimedata_objectLastSecond
PerformanceStats
class Sandbox.Diagnostics .
staticsealedabstractSandbox.Engine

data_object Static Properties 11

ApproximateProcessMemoryUsage
UInt64
Approximate working set of this process.
BytesAllocated
long
The number of bytes that were allocated on the managed heap in the last frame. This may not include allocations from threads other than the game thread.
Exceptions
int
Number of exceptions in the last frame.
FrameTime
Double
Get the time taken, in seconds, that were required to process the previous frame.
GcPause
long
How many ticks we paused in the last frame
Gen0Collections
int
Number of generation 0 (fastest) garbage collections were done in the last frame.
Gen1Collections
int
Number of generation 1 (fast) garbage collections were done in the last frame.
Gen2Collections
int
Number of generation 2 (slow) garbage collections were done in the last frame.
GpuFrameNumber
UInt32
Frame number of the last reported Sandbox.Diagnostics.PerformanceStats.GpuFrametime.
GpuFrametime
float
Latest available GPU frametime, in ms.
LastSecond
Block
Performance statistics over the last period, which is dictated by "perf_time" console command.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter