MemoryProfiler
Helpers & Utilities · AiDotNet.Tensors.Engines.Profiling.Memory
No summary documentation available yet.
Properties
| Property | Summary |
|---|---|
IReadOnlyList<MemoryEvent> Events { get; } |
|
RecordMode Mode { get; } |
|
long CurrentBytes { get; } |
|
long PeakBytes { get; } |
|
long TotalAllocatedBytes { get; } |
Methods
| Method | Summary |
|---|---|
IReadOnlyList<LiveAllocation> GetLargestLiveAllocations(int top) |
|
long RecordAllocation(string allocator, long bytes, int[] shape, string dtypeName) |
|
void DumpSnapshot(string path, int topLiveAllocations, int recentEvents) |
|
void RecordFree(long allocationId) |
|
void RecordHistory(RecordMode mode) |
|
void Reset() |
|
void ResetPeakStats() |