s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter