Class MemoryStats
- Namespace
- IntentSharp.Memory
- Assembly
- IntentSharp.dll
Counts over every entry a memory holds.
public sealed class MemoryStats
- Inheritance
-
objectMemoryStats
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- MemoryStats()
Creates the counts of an empty memory: no entries, no tokens, and a success rate of 0.
Properties
- Newest
The timestamp of the newest entry; null when the memory is empty.
- Oldest
The timestamp of the oldest entry; null when the memory is empty.
- SuccessRate
Successful entries divided by all entries, from 0 to 1; 0 when the memory is empty.
- SuccessfulEntries
The number of entries whose operation succeeded.
- TotalEntries
The number of entries.
- TotalTokens
Input and output tokens summed over every entry.