|
void | Clear () |
| Clears all stats (doesn't remove them) More...
|
|
void | RemoveAll () |
| Removes all stats More...
|
|
void | Remove (string name) |
| Remove a stat More...
|
|
void | Clear (string name) |
|
void | Increment (string name, int refreshMs=0, int clearRateMs=-1) |
| Increments an internal counter with given name and sets it to refresh after given time has passed. More...
|
|
MyStatToken | Measure (string name, MyStatTypeEnum type, int refreshMs=200, int numDecimals=1, int clearRateMs=-1) |
|
MyStatToken | Measure (string name) |
|
void | Write (string name, float value, MyStatTypeEnum type, int refreshMs, int numDecimals, int clearRateMs=-1) |
| Write stat, colon and space is added automatically More...
|
|
void | Write (string name, long value, MyStatTypeEnum type, int refreshMs, int numDecimals, int clearRateMs=-1) |
| Write stat, colon and space is added automatically More...
|
|
void | WriteFormat (string name, float value, MyStatTypeEnum type, int refreshMs, int numDecimals, int clearRateMs=-1) |
| Write stat using format string Number of arguments in format string: MinMaxAvg - three MinMax - two Other - one More...
|
|
void | WriteFormat (string name, long value, MyStatTypeEnum type, int refreshMs, int numDecimals, int clearRateMs=-1) |
| Write stat using format string Number of arguments in format string: MinMaxAvg - three MinMax - two Other - one More...
|
|
void | WriteTo (StringBuilder writeTo) |
|
Definition at line 10 of file MyStats.cs.
void VRage.Stats.MyStats.Clear |
( |
| ) |
|
|
inline |
Clears all stats (doesn't remove them)
Definition at line 58 of file MyStats.cs.
void VRage.Stats.MyStats.Clear |
( |
string |
name | ) |
|
|
inline |
void VRage.Stats.MyStats.Increment |
( |
string |
name, |
|
|
int |
refreshMs = 0 , |
|
|
int |
clearRateMs = -1 |
|
) |
| |
|
inline |
Increments an internal counter with given name and sets it to refresh after given time has passed.
Definition at line 99 of file MyStats.cs.
MyStatToken VRage.Stats.MyStats.Measure |
( |
string |
name, |
|
|
MyStatTypeEnum |
type, |
|
|
int |
refreshMs = 200 , |
|
|
int |
numDecimals = 1 , |
|
|
int |
clearRateMs = -1 |
|
) |
| |
|
inline |
void VRage.Stats.MyStats.Remove |
( |
string |
name | ) |
|
|
inline |
void VRage.Stats.MyStats.RemoveAll |
( |
| ) |
|
|
inline |
void VRage.Stats.MyStats.Write |
( |
string |
name, |
|
|
float |
value, |
|
|
MyStatTypeEnum |
type, |
|
|
int |
refreshMs, |
|
|
int |
numDecimals, |
|
|
int |
clearRateMs = -1 |
|
) |
| |
|
inline |
Write stat, colon and space is added automatically
Definition at line 145 of file MyStats.cs.
void VRage.Stats.MyStats.Write |
( |
string |
name, |
|
|
long |
value, |
|
|
MyStatTypeEnum |
type, |
|
|
int |
refreshMs, |
|
|
int |
numDecimals, |
|
|
int |
clearRateMs = -1 |
|
) |
| |
|
inline |
Write stat, colon and space is added automatically
Definition at line 153 of file MyStats.cs.
void VRage.Stats.MyStats.WriteFormat |
( |
string |
name, |
|
|
float |
value, |
|
|
MyStatTypeEnum |
type, |
|
|
int |
refreshMs, |
|
|
int |
numDecimals, |
|
|
int |
clearRateMs = -1 |
|
) |
| |
|
inline |
Write stat using format string Number of arguments in format string: MinMaxAvg - three MinMax - two Other - one
Definition at line 165 of file MyStats.cs.
void VRage.Stats.MyStats.WriteFormat |
( |
string |
name, |
|
|
long |
value, |
|
|
MyStatTypeEnum |
type, |
|
|
int |
refreshMs, |
|
|
int |
numDecimals, |
|
|
int |
clearRateMs = -1 |
|
) |
| |
|
inline |
Write stat using format string Number of arguments in format string: MinMaxAvg - three MinMax - two Other - one
Definition at line 177 of file MyStats.cs.
void VRage.Stats.MyStats.WriteTo |
( |
StringBuilder |
writeTo | ) |
|
|
inline |
volatile SortEnum VRage.Stats.MyStats.Sort = SortEnum.None |
The documentation for this class was generated from the following file: