Show / Hide Table of Contents

Class Stats

Contains methods related to collecting statistics of TileDB Embedded.

Inheritance
object
Stats
Namespace: TileDB.CSharp
Assembly: TileDB.CSharp.dll
Syntax
public static class Stats

Properties

| Edit this page View Source

IsEnabled

Gets whether statistics are enabled.

Declaration
public static bool IsEnabled { get; }
Property Value
Type Description
bool
See Also
Enable()
Disable()

Methods

| Edit this page View Source

Disable()

Disables statistic gathering

Declaration
public static void Disable()
| Edit this page View Source

Dump()

Writes statistics to standard output.

Declaration
public static void Dump()
| Edit this page View Source

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

| Edit this page View Source

Enable()

Enables statistic gathering

Declaration
public static void Enable()
| Edit this page View Source

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.

| Edit this page View Source

Get()

Gets a JSON string with statistics about TileDB Embedded.

Declaration
public static string Get()
Returns
Type Description
string
| Edit this page View Source

GetRaw()

Gets a JSON string with raw statistics about TileDB Embedded.

Declaration
public static string GetRaw()
Returns
Type Description
string
| Edit this page View Source

Reset()

Resets all previously gathered statistics.

Declaration
public static void Reset()
  • Edit this page
  • View Source
In this article
Back to top Copyright © 2018-2023 TileDB Inc.