Files
libraries-tivadar-besthttp/Runtime/Shared/PlatformSupport/Memory/BufferPoolStats.cs
2026-07-03 05:02:26 +03:00

32 lines
674 B
C#

#if BESTHTTP_PROFILE
using System;
using System.Collections.Generic;
namespace Best.HTTP.Shared.PlatformSupport.Memory
{
public struct BufferStats
{
public long Size;
public int Count;
}
public struct BufferPoolStats
{
public long GetBuffers;
public long ReleaseBuffers;
public long PoolSize;
public long MaxPoolSize;
public long MinBufferSize;
public long MaxBufferSize;
public long Borrowed;
public long ArrayAllocations;
public int FreeBufferCount;
public List<BufferStats> FreeBufferStats;
public TimeSpan NextMaintenance;
}
}
#endif