- Initial commit

This commit is contained in:
Timur Kozanov
2026-07-03 05:02:26 +03:00
commit 374ff1e689
4080 changed files with 388870 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#if BESTHTTP_PROFILE && UNITY_2021_2_OR_NEWER
using Best.HTTP.Profiler.Memory;
using Unity.Profiling.Editor;
namespace Best.HTTP.Editor.Profiler.Memory
{
[System.Serializable]
[ProfilerModuleMetadata(MemoryStats.CategoryName)]
public sealed class MemoryStatsProfilerModule : ProfilerModule
{
static readonly ProfilerCounterDescriptor[] k_Counters =
{
new ProfilerCounterDescriptor(MemoryStats.BorrowedName, MemoryStats.Category),
new ProfilerCounterDescriptor(MemoryStats.PooledName, MemoryStats.Category),
new ProfilerCounterDescriptor(MemoryStats.CacheHitsName, MemoryStats.Category),
new ProfilerCounterDescriptor(MemoryStats.ArrayAllocationsName, MemoryStats.Category)
};
public MemoryStatsProfilerModule() : base(k_Counters)
{
}
}
}
#endif