GetPerformanceStats: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''category:''' Performance statistics category. If empty string is given, list of all categories is returned.See | *'''category:''' Performance statistics category. If empty string is given, list of all categories is returned.See [[categories]] for more information. | ||
===Optional Arguments=== | ===Optional Arguments=== |
Latest revision as of 22:02, 9 January 2018
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
- createTrayNotification
- downloadFile
- getDevelopmentMode
- getKeyboardLayout
- getLocalization
- isShowCollisionsEnabled
- isShowSoundEnabled
- isTransferBoxAlwaysVisible
- isTransferBoxVisible
- isTrayNotificationEnabled
- setClipboard
- setDevelopmentMode
- setTransferBoxVisible
- setWindowFlashing
- showCol
- showSound
- Shared
- addDebugHook
- base64Decode
- base64Encode
- debugSleep
- decodeString
- encodeString
- fromJSON
- generateKeyPair
- getColorFromString
- getDevelopmentMode
- getDistanceBetweenPoints2D
- getDistanceBetweenPoints3D
- getEasingValue
- getNetworkStats
- getNetworkUsageData
- getPerformanceStats
- getRealTime
- getTickCount
- getTimerDetails
- getTimers
- getFPSLimit
- getUserdataType
- getVersion
- gettok
- isTransferBoxVisible
- setTransferBoxVisible
- hash
- inspect
- interpolateBetween
- iprint
- isOOPEnabled
- isTimer
- killTimer
- md5
- passwordHash
- passwordVerify
- pregFind
- pregMatch
- pregReplace
- removeDebugHook
- resetTimer
- setDevelopmentMode
- setFPSLimit
- setTimer
- ref
- deref
- sha256
- split
- teaDecode
- teaEncode
- toJSON
- tocolor
- getProcessMemoryStats
- utfChar
- utfCode
- utfLen
- utfSeek
- utfSub
- bitAnd
- bitNot
- bitOr
- bitXor
- bitTest
- bitLRotate
- bitRRotate
- bitLShift
- bitRShift
- bitArShift
- bitExtract
- bitReplace