Class Stats
Contains methods related to collecting statistics of TileDB Embedded.
Namespace: TileDB.CSharp
Assembly: TileDB.CSharp.dll
Syntax
public static class Stats
Methods
| Edit this page View SourceDisable()
Disables statistic gathering
Declaration
public static void Disable()
Dump()
Writes statistics to standard output.
Declaration
public static void Dump()
Dump(string)
Writes TileDB statistics to a file.
Declaration
public static void Dump(string filePath)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | Path to file to dump statistics |
Enable()
Enables statistic gathering
Declaration
public static void Enable()
EnableHeapProfiler(string?, ulong, ulong, ulong)
Enables heap profiling of TileDB Embedded.
Declaration
public static void EnableHeapProfiler(string? fileNamePrefix, ulong dumpIntervalMilliseconds, ulong dumpIntervalBytes, ulong dumpThresholdBytes)
Parameters
Type | Name | Description |
---|---|---|
string | fileNamePrefix | The file name prefix of the dumps. If it is null or empty, dumps will be written to stdout. |
ulong | dumpIntervalMilliseconds | If non-zero, this spawns a dedicated thread to dump on this time interval. |
ulong | dumpIntervalBytes | If non-zero, a dump will occur when the total number of lifetime allocated bytes is increased by more than this amount. |
ulong | dumpThresholdBytes | If non-zero, labeled allocations with a number of bytes lower than this threshold will not be reported in the dump. |
Get()
Gets a JSON string with statistics about TileDB Embedded.
Declaration
public static string Get()
Returns
Type | Description |
---|---|
string |
GetRaw()
Gets a JSON string with raw statistics about TileDB Embedded.
Declaration
public static string GetRaw()
Returns
Type | Description |
---|---|
string |
Reset()
Resets all previously gathered statistics.
Declaration
public static void Reset()