StatsItem
A single performance metric.
This class is not creatable. Instances of this class cannot be created with Instance.new.
Memory category | Instances |
---|
Member index 3
Description
A StatsItem is an internal measurement item that is created by the engine to benchmark many of the backend components of Roblox. It cannot be created using Instance.new(), but its value can be read by plugins. They can be found stored inside of the Stats service.
History 14
- 553 Change Default of from to
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 477 Add
- 462 Change ThreadSafety of GetValueString from to Unsafe
- 462 Change ThreadSafety of GetValue from to Unsafe
- 152 Change Security of GetValueString from LocalUserSecurity to PluginSecurity
- 152 Change Security of GetValue from LocalUserSecurity to PluginSecurity
- 83 Change Security of GetValueString from RobloxScriptSecurity to LocalUserSecurity
- 83 Change Security of GetValue from RobloxScriptSecurity to LocalUserSecurity
- 48 Change Security of GetValueString from LocalUserSecurity to RobloxScriptSecurity
- 48 Change Security of GetValue from LocalUserSecurity to RobloxScriptSecurity
- 47 Add GetValueString
- 47 Add GetValue
- 47 Add StatsItem
Members 3
GetValue
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
double |
Returns the StatsItem's value.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 5
GetValueString
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
Returns the StatsItem's value as a formatted string.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 5
- 462 Change ThreadSafety of GetValueString from to Unsafe
- 152 Change Security of GetValueString from LocalUserSecurity to PluginSecurity
- 83 Change Security of GetValueString from RobloxScriptSecurity to LocalUserSecurity
- 48 Change Security of GetValueString from LocalUserSecurity to RobloxScriptSecurity
- 47 Add GetValueString