Table of Contents

Class KernelCacheStatistics

Namespace
DotCompute.Runtime.Services.Statistics
Assembly
DotCompute.Runtime.dll

Kernel cache statistics

public class KernelCacheStatistics
Inheritance
KernelCacheStatistics
Inherited Members

Properties

CacheHits

Gets the number of cache hits

public long CacheHits { get; init; }

Property Value

long

CacheMisses

Gets the number of cache misses

public long CacheMisses { get; init; }

Property Value

long

CachedKernelCount

Gets the number of cached kernels

public int CachedKernelCount { get; init; }

Property Value

int

CollectedAt

Gets the timestamp when these statistics were collected

public DateTime CollectedAt { get; init; }

Property Value

DateTime

CurrentMemoryUsageMB

Gets the current memory usage in megabytes

public double CurrentMemoryUsageMB { get; }

Property Value

double

DiskCacheEntries

Gets the number of entries in the disk cache

public int DiskCacheEntries { get; init; }

Property Value

int

EvictionCount

Gets the number of cache evictions

public long EvictionCount { get; init; }

Property Value

long

HitRate

Gets the cache hit rate

public double HitRate { get; }

Property Value

double

MemoryCacheEntries

Gets the number of entries in the memory cache

public int MemoryCacheEntries { get; init; }

Property Value

int

MemoryUsage

Gets the current memory usage of the cache in bytes

public long MemoryUsage { get; init; }

Property Value

long

TotalCacheSize

Gets the total cache size in bytes

public long TotalCacheSize { get; init; }

Property Value

long

TotalHits

Gets the total number of cache hits across all kernel types

public long TotalHits { get; init; }

Property Value

long

TotalMisses

Gets the total number of cache misses across all kernel types

public long TotalMisses { get; init; }

Property Value

long

TotalRequests

Gets the total number of cache requests

public long TotalRequests { get; init; }

Property Value

long