MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / InitResult

Function InitResult

src/Tests.cpp:280–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280static void InitResult(Result& outResult)
281{
282 outResult.TotalTime = duration::zero();
283 outResult.AllocationTimeMin = duration::max();
284 outResult.AllocationTimeAvg = duration::zero();
285 outResult.AllocationTimeMax = duration::min();
286 outResult.DeallocationTimeMin = duration::max();
287 outResult.DeallocationTimeAvg = duration::zero();
288 outResult.DeallocationTimeMax = duration::min();
289 outResult.TotalMemoryAllocated = 0;
290 outResult.FreeRangeSizeAvg = 0;
291 outResult.FreeRangeSizeMax = 0;
292}
293
294class TimeRegisterObj
295{

Callers 1

MainTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected