- Removed IJobScheduler interface; merged logic into JobScheduler - Changed scheduling APIs to accept multiple dependencies (ReadOnlySpan) - Moved WaitItem classes to JobScheduler.cs and updated types - Updated JobExecutionContext to use JobScheduler and added docs - Renamed AllocationManagerInitOpts to AllocationManagerDesc (required props) - Added thread-safe TotalAllocatedMemory property to AllocationManager - Refactored Integer to Data in benchmarks; updated usage - Updated tests and improved documentation throughout
20 lines
437 B
C#
20 lines
437 B
C#
using Misaki.HighPerformance.LowLevel.Buffer;
|
|
|
|
namespace Misaki.HighPerformance.Test.UnitTest;
|
|
|
|
[TestClass]
|
|
public static class GlobalSetup
|
|
{
|
|
[GlobalTestInitialize]
|
|
public static void GlobalInitialize(TestContext ctx)
|
|
{
|
|
AllocationManager.Initialize(AllocationManagerDesc.Default);
|
|
}
|
|
|
|
[GlobalTestCleanup]
|
|
public static void GlobalCleanup(TestContext ctx)
|
|
{
|
|
AllocationManager.Dispose();
|
|
}
|
|
}
|