The Statistics type exposes the following members.

Back to Top

Methods

Name | Description | |
---|---|---|

Close |
Closes these statistics. After statistics have been closed, they
are no longer archived.
A value access on a closed statistics always results in zero.
A value modification on a closed statistics is ignored.
| |

Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |

GetDouble(Int32) |
Returns the value of the identified statistic of type double.
| |

GetDouble(String) |
Returns the value of the statistic of type double at
the given name.
| |

GetDouble(StatisticDescriptor) |
Returns the value of the described statistic of type double.
| |

GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |

GetInt(Int32) |
Returns the value of the identified statistic of type int.
whose type is double.
| |

GetInt(String) |
Returns the value of the statistic of type at
the given name.
| |

GetInt(StatisticDescriptor) |
Returns the value of the described statistic of type .
| |

GetLong(Int32) |
Returns the value of the identified statistic of type long.
| |

GetLong(String) |
Returns the value of the statistic of type long at
the given name.
| |

GetLong(StatisticDescriptor) |
Returns the value of the described statistic of type long.
| |

GetRawBits |
Returns the bits that represent the raw value of the described statistic.
| |

GetType | Gets the Type of the current instance. (Inherited from Object.) | |

IncDouble(Int32, Double) |
Increments the value of the identified statistic of type double
by the given amount.
| |

IncDouble(String, Double) |
Increments the value of the statistic of type double with
the given name by a given amount.
| |

IncDouble(StatisticDescriptor, Double) |
Increments the value of the described statistic of type double
by the given amount.
| |

IncInt(Int32, Int32) |
Increments the value of the identified statistic of type int
by the given amount.
| |

IncInt(String, Int32) |
Increments the value of the statistic of type int with
the given name by a given amount.
| |

IncInt(StatisticDescriptor, Int32) |
Increments the value of the described statistic of type int
by the given amount.
| |

IncLong(Int32, Int64) |
Increments the value of the identified statistic of type long
by the given amount.
| |

IncLong(String, Int64) |
Increments the value of the statistic of type long with
the given name by a given amount.
| |

IncLong(StatisticDescriptor, Int64) |
Increments the value of the described statistic of type long
by the given amount.
| |

NameToDescriptor |
Returns the descriptor of the statistic with the given name in this
statistics instance.
| |

NameToId |
Returns the id of the statistic with the given name in this
statistics instance.
| |

SetDouble(Int32, Double) |
Sets the value of a statistic with the given id
whose type is double.
| |

SetDouble(String, Double) |
Sets the value of a named statistic of type double | |

SetDouble(StatisticDescriptor, Double) |
Sets the value of a described statistic of type double | |

SetInt(Int32, Int32) |
Sets the value of a statistic with the given id
whose type is int.
| |

SetInt(String, Int32) |
Sets the value of a named statistic of type int | |

SetInt(StatisticDescriptor, Int32) |
Sets the value of a described statistic of type int | |

SetLong(Int32, Int64) |
Sets the value of a statistic with the given id
whose type is long.
| |

SetLong(String, Int64) |
Sets the value of a named statistic of type long.
| |

SetLong(StatisticDescriptor, Int64) |
Sets the value of a described statistic of type long | |

ToString | Returns a String that represents the current Object. (Inherited from Object.) |

See Also