MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator / AlgorithmToStr

Function AlgorithmToStr

src/Tests.cpp:89–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static const char* AlgorithmToStr(D3D12MA::POOL_FLAGS algorithm)
90{
91 switch (algorithm)
92 {
93 case D3D12MA::POOL_FLAG_ALGORITHM_LINEAR:
94 return "Linear";
95 case 0:
96 return "TLSF";
97 default:
98 assert(0);
99 return "";
100 }
101}
102
103static const char* VirtualAlgorithmToStr(D3D12MA::VIRTUAL_BLOCK_FLAGS algorithm)
104{

Callers 1

BenchmarkAlgorithmsCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected