GetPerformanceStats
From Multi Theft Auto: Wiki
This function returns performance information.
Syntax
table table getPerformanceStats ( string category [, string options = "", string filter = "" ] )
Required Arguments
- category: Performance statistics category. If empty string is given, list of all categories is returned.See categories for more information.
Optional Arguments
- options: Category specific ',' separated options. All categories supports 'h' option for help.
- filter: Case-sensitive filter used to select returned rows. Only 'name' column is filtered.
Returns
Returns two tables. First contains column names. The second contains result rows. Each row is table of cells.
Example
local columns, rows = getPerformanceStats("") outputChatBox(table.concat(columns, " ")) outputChatBox("----------------") for i, row in ipairs(rows) do outputChatBox(table.concat(row, " ")) end
See Also
- bitAnd
- bitNot
- bitOr
- bitXor
- bitTest
- bitLRotate
- bitRRotate
- bitLShift
- bitRShift
- bitArShift
- bitExtract
- bitReplace
- createTrayNotification
- debugSleep
- downloadFile
- decodeString
- encodeString
- fromJSON
- getColorFromString
- getDevelopmentMode
- getDistanceBetweenPoints2D
- getDistanceBetweenPoints3D
- getEasingValue
- getFPSLimit
- getKeyboardLayout
- getLocalization
- getNetworkStats
- getNetworkUsageData
- getPerformanceStats
- getRealTime
- getTickCount
- getTimers
- getTimerDetails
- gettok
- getUserdataType
- getVersion
- hash
- inspect
- interpolateBetween
- iprint
- isOOPEnabled
- isTimer
- isTrayNotificationEnabled
- killTimer
- md5
- passwordHash
- passwordVerify
- pregFind
- pregMatch
- pregReplace
- removeDebugHook
- resetTimer
- setClipboard
- setDevelopmentMode
- setFPSLimit
- setTimer
- setWindowFlashing
- sha256
- split
- teaDecode
- teaEncode
- tocolor
- toJSON
- utfChar
- utfCode
- utfLen
- utfSeek
- utfSub